summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/desc.h
diff options
context:
space:
mode:
authorSeiji Aguchi <seiji.aguchi@hds.com>2013-10-30 16:36:08 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2013-11-08 14:15:44 -0800
commit959c071f0974cda7702d7574647de7ad9259eb57 (patch)
tree534c5cd7b723e86aba0770847584422493b8ee18 /arch/x86/include/asm/desc.h
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
downloadblackbird-op-linux-959c071f0974cda7702d7574647de7ad9259eb57.tar.gz
blackbird-op-linux-959c071f0974cda7702d7574647de7ad9259eb57.zip
x86, trace: Remove __alloc_intr_gate()
Prepare to move set_intr_gate() into a macro by removing __alloc_intr_gate(). The purpose is to avoid failing a kernel build after applying a subsequent patch which changes set_intr_gate() into a macro. Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com> Link: http://lkml.kernel.org/r/52716DB8.1080702@hds.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/desc.h')
-rw-r--r--arch/x86/include/asm/desc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h
index b90e5dfeee46..d93956744cfd 100644
--- a/arch/x86/include/asm/desc.h
+++ b/arch/x86/include/asm/desc.h
@@ -395,15 +395,10 @@ static inline void trace_set_intr_gate(unsigned int gate, void *addr)
#define __trace_alloc_intr_gate(n, addr)
#endif
-static inline void __alloc_intr_gate(unsigned int n, void *addr)
-{
- set_intr_gate(n, addr);
-}
-
#define alloc_intr_gate(n, addr) \
do { \
alloc_system_vector(n); \
- __alloc_intr_gate(n, addr); \
+ set_intr_gate(n, addr); \
__trace_alloc_intr_gate(n, trace_##addr); \
} while (0)
OpenPOWER on IntegriCloud