Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Benjamin Herrenschmidt e0d82a0a4e perf_counter/powerpc: Check oprofile_cpu_type for NULL before using it
If the current CPU doesn't support performance counters,
cur_cpu_spec->oprofile_cpu_type can be NULL. The current
perf_counter modules don't test for that case and would thus
crash at boot time.

Bug reported by David Woodhouse.

Reported-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Paul Mackerras <paulus@samba.org>
LKML-Reference: <19066.48028.446975.501454@cargo.ozlabs.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-08-06 13:55:09 +02:00
..
2008-12-21 14:21:16 +11:00
2008-12-21 14:21:16 +11:00
2007-05-11 05:38:25 -04:00
2009-05-21 15:44:21 +10:00
2008-06-30 22:31:00 +10:00
2009-06-16 19:47:28 -07:00
2008-05-23 22:43:11 +02:00
2009-06-12 16:53:38 +10:00
2009-06-26 14:37:24 +10:00
2009-07-12 12:22:34 -07:00
2008-12-21 14:21:16 +11:00
2007-10-11 14:36:47 +10:00