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/platform/68360/entry.S | |
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/platform/68360/entry.S')
-rw-r--r-- | arch/m68knommu/platform/68360/entry.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m68knommu/platform/68360/entry.S b/arch/m68knommu/platform/68360/entry.S index f1af8977f294..55dfefe38642 100644 --- a/arch/m68knommu/platform/68360/entry.S +++ b/arch/m68knommu/platform/68360/entry.S | |||
@@ -120,23 +120,21 @@ Lreturn: | |||
120 | RESTORE_ALL | 120 | RESTORE_ALL |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * This is the main interrupt handler, responsible for calling process_int() | 123 | * This is the main interrupt handler, responsible for calling do_IRQ() |
124 | */ | 124 | */ |
125 | inthandler: | 125 | inthandler: |
126 | SAVE_ALL | 126 | SAVE_ALL |
127 | addql #1,local_irq_count /* put exception # in d0*/ | ||
128 | movew %sp@(PT_VECTOR), %d0 | 127 | movew %sp@(PT_VECTOR), %d0 |
129 | and.l #0x3ff, %d0 | 128 | and.l #0x3ff, %d0 |
130 | lsr.l #0x02, %d0 | 129 | lsr.l #0x02, %d0 |
131 | 130 | ||
132 | movel %sp,%sp@- | 131 | movel %sp,%sp@- |
133 | movel %d0,%sp@- /* put vector # on stack*/ | 132 | movel %d0,%sp@- /* put vector # on stack*/ |
134 | jbsr process_int /* process the IRQ*/ | 133 | jbsr do_IRQ /* process the IRQ*/ |
135 | 3: addql #8,%sp /* pop parameters off stack*/ | 134 | 3: addql #8,%sp /* pop parameters off stack*/ |
136 | bra ret_from_interrupt | 135 | bra ret_from_interrupt |
137 | 136 | ||
138 | ret_from_interrupt: | 137 | ret_from_interrupt: |
139 | subql #1,local_irq_count | ||
140 | jeq 1f | 138 | jeq 1f |
141 | 2: | 139 | 2: |
142 | RESTORE_ALL | 140 | RESTORE_ALL |