diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-03-14 08:49:49 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-14 10:59:50 +0300 |
commit | 9766cdbcb260389669e9679b2aa87c11832f479f (patch) | |
tree | df0d6591378c0ef79c99c31e452ff78727dce5ce /arch/x86/include/asm/processor.h | |
parent | bf5172d07ac38e538e01143289e9b46076494ad5 (diff) | |
download | linux-9766cdbcb260389669e9679b2aa87c11832f479f.tar.xz |
x86: cpu/common.c cleanups
- fix various style problems
- declare varibles before they get used
- introduced clear_all_debug_regs
- fix header files issues
LKML-Reference: <1237009789.4387.2.camel@localhost.localdomain>
Signed-off-by: Jaswinder Singh Rajput <jaswinder@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 76139506c3e4..dccef5be0fc1 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -391,6 +391,9 @@ DECLARE_PER_CPU(union irq_stack_union, irq_stack_union); DECLARE_INIT_PER_CPU(irq_stack_union); DECLARE_PER_CPU(char *, irq_stack_ptr); +DECLARE_PER_CPU(unsigned int, irq_count); +extern unsigned long kernel_eflags; +extern asmlinkage void ignore_sysret(void); #else /* X86_64 */ #ifdef CONFIG_CC_STACKPROTECTOR DECLARE_PER_CPU(unsigned long, stack_canary); |