Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99649
b: refs/heads/master
c: 0bc471d
h: refs/heads/master
i:
  99647: 6924be0
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed May 12, 2008
1 parent aa95807 commit 6d4c906
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b7dc567d03d74a1fbae84e88949b6a60d922d82
refs/heads/master: 0bc471d93051a19545257909bc2ed2ad3b389b54
14 changes: 14 additions & 0 deletions trunk/arch/x86/kernel/i8259_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@
* interrupt-controller happy.
*/

#define IRQ_NAME2(nr) nr##_interrupt(void)
#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)

/*
* SMP has a few special interrupts for IPI messages
*/

#define BUILD_IRQ(nr) \
asmlinkage void IRQ_NAME(nr); \
asm("\n.p2align\n" \
"IRQ" #nr "_interrupt:\n\t" \
"push $~(" #nr ") ; " \
"jmp common_interrupt");

#define BI(x,y) \
BUILD_IRQ(x##y)

Expand Down
14 changes: 0 additions & 14 deletions trunk/include/asm-x86/hw_irq_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,4 @@ extern void native_init_IRQ(void);

#include <asm/ptrace.h>

#define IRQ_NAME2(nr) nr##_interrupt(void)
#define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)

/*
* SMP has a few special interrupts for IPI messages
*/

#define BUILD_IRQ(nr) \
asmlinkage void IRQ_NAME(nr); \
asm("\n.p2align\n" \
"IRQ" #nr "_interrupt:\n\t" \
"push $~(" #nr ") ; " \
"jmp common_interrupt");

#endif

0 comments on commit 6d4c906

Please sign in to comment.