Skip to content

Commit

Permalink
x86: unify hwirq.h
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed May 12, 2008
1 parent 97e7b6f commit 22dc12d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 deletions.
11 changes: 7 additions & 4 deletions include/asm-x86/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,15 @@ extern asmlinkage void qic_reschedule_interrupt(void);
extern asmlinkage void qic_enable_irq_interrupt(void);
extern asmlinkage void qic_call_function_interrupt(void);

#endif /* !ASSEMBLY_ */

#ifdef CONFIG_X86_32
# include "hw_irq_32.h"
extern void (*const interrupt[NR_IRQS])(void);
#else
# include "hw_irq_64.h"
typedef int vector_irq_t[NR_VECTORS];
DECLARE_PER_CPU(vector_irq_t, vector_irq);
extern void __setup_vector_irq(int cpu);
extern spinlock_t vector_lock;
#endif

#endif /* !ASSEMBLY_ */

#endif
5 changes: 0 additions & 5 deletions include/asm-x86/hw_irq_32.h

This file was deleted.

17 changes: 0 additions & 17 deletions include/asm-x86/hw_irq_64.h

This file was deleted.

0 comments on commit 22dc12d

Please sign in to comment.