]> Pileus Git - ~andy/linux/blobdiff - arch/arm/kernel/process.c
ARM: 5868/1: ARM: fix "BUG: using smp_processor_id() in preemptible code"
[~andy/linux] / arch / arm / kernel / process.c
index 67304138a2ca025d0ef494e40d3d513fd3bb3b8b..ba2adefa53f764200cc31f5ce29f28ddaa62ef97 100644 (file)
@@ -212,7 +212,8 @@ void __show_regs(struct pt_regs *regs)
        char buf[64];
 
        printk("CPU: %d    %s  (%s %.*s)\n",
-               smp_processor_id(), print_tainted(), init_utsname()->release,
+               raw_smp_processor_id(), print_tainted(),
+               init_utsname()->release,
                (int)strcspn(init_utsname()->version, " "),
                init_utsname()->version);
        print_symbol("PC is at %s\n", instruction_pointer(regs));