diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-07-19 04:49:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:50 -0400 |
commit | 2502b667ea835ee16685c74b2a0d89ba8afe117a (patch) | |
tree | 31d492fb934df6d83819b679f3aa8d7f6952396d /arch/m68knommu/kernel/asm-offsets.c | |
parent | f8af0bb890d6cdcb09ec042c128e217a7c500355 (diff) |
m68knommu: generic irq handling
Change the m68knommu irq handling to use the generic irq framework.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/kernel/asm-offsets.c')
-rw-r--r-- | arch/m68knommu/kernel/asm-offsets.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c index 7cd183d346ef..d97b89bae53c 100644 --- a/arch/m68knommu/kernel/asm-offsets.c +++ b/arch/m68knommu/kernel/asm-offsets.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/hardirq.h> | 15 | #include <linux/hardirq.h> |
16 | #include <asm/bootinfo.h> | 16 | #include <asm/bootinfo.h> |
17 | #include <asm/irq.h> | 17 | #include <asm/irq.h> |
18 | #include <asm/irqnode.h> | ||
19 | #include <asm/thread_info.h> | 18 | #include <asm/thread_info.h> |
20 | 19 | ||
21 | #define DEFINE(sym, val) \ | 20 | #define DEFINE(sym, val) \ |
@@ -72,10 +71,6 @@ int main(void) | |||
72 | #else | 71 | #else |
73 | /* bitfields are a bit difficult */ | 72 | /* bitfields are a bit difficult */ |
74 | DEFINE(PT_VECTOR, offsetof(struct pt_regs, pc) + 4); | 73 | DEFINE(PT_VECTOR, offsetof(struct pt_regs, pc) + 4); |
75 | /* offsets into the irq_handler struct */ | ||
76 | DEFINE(IRQ_HANDLER, offsetof(struct irq_node, handler)); | ||
77 | DEFINE(IRQ_DEVID, offsetof(struct irq_node, dev_id)); | ||
78 | DEFINE(IRQ_NEXT, offsetof(struct irq_node, next)); | ||
79 | #endif | 74 | #endif |
80 | 75 | ||
81 | /* offsets into the kernel_stat struct */ | 76 | /* offsets into the kernel_stat struct */ |