summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/irq.h
diff options
context:
space:
mode:
authorLi Shaohua <shaohua.li@intel.com>2005-06-25 14:54:56 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 16:24:30 -0700
commite1367daf3eed5cd619ee88c9907e1e6ddaa58406 (patch)
treedce60efefba356e0a914669587586a6174e41b94 /include/asm-i386/irq.h
parent0bb3184df537002a742bafddf3f4fb482b7fe610 (diff)
downloadop-kernel-dev-e1367daf3eed5cd619ee88c9907e1e6ddaa58406.zip
op-kernel-dev-e1367daf3eed5cd619ee88c9907e1e6ddaa58406.tar.gz
[PATCH] cpu state clean after hot remove
Clean CPU states in order to reuse smp boot code for CPU hotplug. Signed-off-by: Li Shaohua<shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/irq.h')
-rw-r--r--include/asm-i386/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/irq.h b/include/asm-i386/irq.h
index e2d8bf2..270f198 100644
--- a/include/asm-i386/irq.h
+++ b/include/asm-i386/irq.h
@@ -29,9 +29,11 @@ extern void release_vm86_irqs(struct task_struct *);
#ifdef CONFIG_4KSTACKS
extern void irq_ctx_init(int cpu);
+ extern void irq_ctx_exit(int cpu);
# define __ARCH_HAS_DO_SOFTIRQ
#else
# define irq_ctx_init(cpu) do { } while (0)
+# define irq_ctx_exit(cpu) do { } while (0)
#endif
#ifdef CONFIG_IRQBALANCE
OpenPOWER on IntegriCloud