diff options
| author | Ondrej Zary <[email protected]> | 2009-08-11 20:00:11 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-12 11:49:41 +0200 |
| commit | e8055139d996e85722984968472868d6dccb1490 (patch) | |
| tree | daf1dcd35c814da2c282a3f31ab683fb79ba4bb9 /kernel/trace/trace_functions_graph.c | |
| parent | fbd8b1819e80ac5a176d085fdddc3a34d1499318 (diff) | |
x86: Fix oops in identify_cpu() on CPUs without CPUID
Kernel is broken for x86 CPUs without CPUID since 2.6.28. It
crashes with NULL pointer dereference in identify_cpu():
766 generic_identify(c);
767
768--> if (this_cpu->c_identify)
769 this_cpu->c_identify(c);
this_cpu is NULL. This is because it's only initialized in
get_cpu_vendor() function, which is not called if the CPU has
no CPUID instruction.
Signed-off-by: Ondrej Zary <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions