Commit 0d44269e1fb1118473cae36958c96f08cf69905b
Committed by
Linus Torvalds
1 parent
727dda800f
Exists in
master
and in
20 other branches
[PATCH] m68knommu: remove romvec asm code from ints.c
Remove the inline 68328 romvec section asm code into its own file. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 1 additions and 19 deletions Side-by-side Diff
arch/m68knommu/platform/68328/ints.c
... | ... | @@ -18,6 +18,7 @@ |
18 | 18 | |
19 | 19 | #include <asm/system.h> |
20 | 20 | #include <asm/irq.h> |
21 | +#include <asm/irqnode.h> | |
21 | 22 | #include <asm/traps.h> |
22 | 23 | #include <asm/io.h> |
23 | 24 | #include <asm/machdep.h> |
... | ... | @@ -81,25 +82,6 @@ |
81 | 82 | |
82 | 83 | /* irq node variables for the 32 (potential) on chip sources */ |
83 | 84 | static irq_node_t int_irq_list[NR_IRQS]; |
84 | - | |
85 | -#if !defined(CONFIG_DRAGEN2) | |
86 | -asm (".global _start, __ramend/n/t" | |
87 | - ".section .romvec/n" | |
88 | - "e_vectors:\n\t" | |
89 | - ".long __ramend-4, _start, buserr, trap, trap, trap, trap, trap\n\t" | |
90 | - ".long trap, trap, trap, trap, trap, trap, trap, trap\n\t" | |
91 | - ".long trap, trap, trap, trap, trap, trap, trap, trap\n\t" | |
92 | - ".long trap, trap, trap, trap\n\t" | |
93 | - ".long trap, trap, trap, trap\n\t" | |
94 | - /*.long inthandler, inthandler, inthandler, inthandler | |
95 | - .long inthandler4, inthandler, inthandler, inthandler */ | |
96 | - /* TRAP #0-15 */ | |
97 | - ".long system_call, trap, trap, trap, trap, trap, trap, trap\n\t" | |
98 | - ".long trap, trap, trap, trap, trap, trap, trap, trap\n\t" | |
99 | - ".long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n\t" | |
100 | - ".text\n" | |
101 | - "ignore: rte"); | |
102 | -#endif | |
103 | 85 | |
104 | 86 | /* |
105 | 87 | * This function should be called during kernel startup to initialize |