aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorCliff Wickman <[email protected]>2010-12-13 16:51:57 +0000
committerH. Peter Anvin <[email protected]>2010-12-27 22:02:11 +0000
commitc8217b8305e5e75c23617f2f4cd262527d952c0a (patch)
treeb7bc356f5021cbbb21ee24d00c9e94f03f6d35c4 /lib/dynamic_debug.c
parentLinux 2.6.37-rc7 (diff)
downloadkernel-c8217b8305e5e75c23617f2f4cd262527d952c0a.tar.gz
kernel-c8217b8305e5e75c23617f2f4cd262527d952c0a.zip
x86, paravirt: Use native_halt on a halt, not native_safe_halt
halt() should use native_halt() safe_halt() uses native_safe_halt() If CONFIG_PARAVIRT=y, halt() is defined in arch/x86/include/asm/paravirt.h as static inline void halt(void) { PVOP_VCALL0(pv_irq_ops.safe_halt); } Otherwise (no CONFIG_PARAVIRT) halt() in arch/x86/include/asm/irqflags.h is static inline void halt(void) { native_halt(); } So it looks to me like the CONFIG_PARAVIRT case of using native_safe_halt() for a halt() is an oversight. Am I missing something? It probably hasn't shown up as a problem because the local apic is disabled on a shutdown or restart. But if we disable interrupts and call halt() we shouldn't expect that the halt() will re-enable interrupts. Signed-off-by: Cliff Wickman <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions