aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/pci/early.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-03-13 12:46:07 -0700
committerIngo Molnar <mingo@elte.hu>2009-03-14 12:27:06 +0100
commit63516ef6d6a8379ee5c32463efc6a75f9da8a309 (patch)
treec9096842aaa9d598b29c45c8c3ef71a301dfa8e7 /arch/x86/pci/early.c
parent3ff42da5048649503e343a32be37b14a6a4e8aaf (diff)
x86: fix get_mtrr() warning about smp_processor_id() with CONFIG_PREEMPT=y
Impact: fix debug warning Jaswinder noticed that there is a warning about smp_processor_id() in get_mtrr(). Fix it by wrapping the printout into a get/put_cpu() pair. Reported-by: Jaswinder Singh Rajput <jaswinder@kernel.org> Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> LKML-Reference: <49BAB7FF.4030107@kernel.org> [ changed to get/put_cpu(), cleaned up surrounding code a it. ] Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/pci/early.c')
0 files changed, 0 insertions, 0 deletions