summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/irq.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-08-06 00:02:37 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2013-08-06 23:18:23 +0200
commit1d9090e2fb32c84277cef6e72a21be7f78c929f4 (patch)
tree89c2cf998589bfb26908794fe22a5d48bebbc80a /arch/x86/include/asm/irq.h
parentx86, asmlinkage: Change dotraplinkage into __visible on 32bit (diff)
downloadlinux-1d9090e2fb32c84277cef6e72a21be7f78c929f4.tar.xz
linux-1d9090e2fb32c84277cef6e72a21be7f78c929f4.zip
x86, asmlinkage: Make all interrupt handlers asmlinkage / __visible
These handlers are all referenced from assembler stubs, so need to be visible. The handlers without arguments become asmlinkage, the others __visible to not force regparms(0) on x86-32. I put it all into a single patch, please let me know if you want it it split up. Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1375740170-7446-4-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/irq.h')
-rw-r--r--arch/x86/include/asm/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq.h
index 57873beb3292..0ea10f27d613 100644
--- a/arch/x86/include/asm/irq.h
+++ b/arch/x86/include/asm/irq.h
@@ -33,7 +33,7 @@ extern void (*x86_platform_ipi_callback)(void);
extern void native_init_IRQ(void);
extern bool handle_irq(unsigned irq, struct pt_regs *regs);
-extern unsigned int do_IRQ(struct pt_regs *regs);
+extern __visible unsigned int do_IRQ(struct pt_regs *regs);
/* Interrupt vector management */
extern DECLARE_BITMAP(used_vectors, NR_VECTORS);