[PATCH] x86-64: dump_trace() atomicity fix
authorAndrew Morton <akpm@osdl.org>
Thu, 7 Dec 2006 01:14:02 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:02 +0000 (02:14 +0100)
commitda68933e0a999fb13636653c710cca701b457ad2
tree16808c3d5074dd249a0fe11b513ec4e53ecdec9d
parentbb0d977ed42c79ed709c79dbab4ff2159941eb2a
[PATCH] x86-64: dump_trace() atomicity fix

Fix

BUG: using smp_processor_id() in preemptible [00000001] code:

in backtracer on preemptible debug kernels.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/traps.c