summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/hw_irq.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-11 13:03:07 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-11-11 13:03:07 -0800
commit4687518c4cb7807fbeff21770e309080f9eb7f2f (patch)
treead5a423f3f70a0ab3ca16dd8a4a9a1aabdf94986 /arch/x86/include/asm/hw_irq.h
parentf21f237cf55494c3a4209de323281a3b0528da10 (diff)
downloadblackbird-op-linux-4687518c4cb7807fbeff21770e309080f9eb7f2f.tar.gz
blackbird-op-linux-4687518c4cb7807fbeff21770e309080f9eb7f2f.zip
x86: 32 bit: interrupt stub consistency with 64 bit
Don't generate interrupt stubs for interrupt vectors below FIRST_EXTERNAL_VECTOR, and make the table of interrupt vectors (interrupt[]) __initconst. Both of these changes both conserve memory and improve consistency with 64 bits. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/hw_irq.h')
-rw-r--r--arch/x86/include/asm/hw_irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h
index b97aecb0b61d..27d33f92afe2 100644
--- a/arch/x86/include/asm/hw_irq.h
+++ b/arch/x86/include/asm/hw_irq.h
@@ -110,7 +110,7 @@ extern asmlinkage void smp_invalidate_interrupt(struct pt_regs *);
#endif
#ifdef CONFIG_X86_32
-extern void (*const interrupt[NR_VECTORS])(void);
+extern void (*__initconst interrupt[NR_VECTORS-FIRST_EXTERNAL_VECTOR])(void);
#endif
typedef int vector_irq_t[NR_VECTORS];
OpenPOWER on IntegriCloud