diff options
| author | Greg Ungerer <gerg@snapgear.com> | 2006-06-28 01:56:22 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 18:03:47 -0400 |
| commit | 0d44269e1fb1118473cae36958c96f08cf69905b (patch) | |
| tree | 6165a5df5ab3e2f70d6923044ea1fbf6adabdda9 /arch/m68knommu | |
| parent | 727dda800f5076ce6f4653393fab651706959c93 (diff) | |
[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>
Diffstat (limited to 'arch/m68knommu')
| -rw-r--r-- | arch/m68knommu/platform/68328/ints.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/m68knommu/platform/68328/ints.c b/arch/m68knommu/platform/68328/ints.c index 7437217813d2..2dda7339aae5 100644 --- a/arch/m68knommu/platform/68328/ints.c +++ b/arch/m68knommu/platform/68328/ints.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | #include <asm/system.h> | 19 | #include <asm/system.h> |
| 20 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
| 21 | #include <asm/irqnode.h> | ||
| 21 | #include <asm/traps.h> | 22 | #include <asm/traps.h> |
| 22 | #include <asm/io.h> | 23 | #include <asm/io.h> |
| 23 | #include <asm/machdep.h> | 24 | #include <asm/machdep.h> |
| @@ -82,25 +83,6 @@ unsigned int local_irq_count[NR_CPUS]; | |||
| 82 | /* irq node variables for the 32 (potential) on chip sources */ | 83 | /* irq node variables for the 32 (potential) on chip sources */ |
| 83 | static irq_node_t int_irq_list[NR_IRQS]; | 84 | static irq_node_t int_irq_list[NR_IRQS]; |
| 84 | 85 | ||
| 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 | |||
| 104 | /* | 86 | /* |
| 105 | * This function should be called during kernel startup to initialize | 87 | * This function should be called during kernel startup to initialize |
| 106 | * the IRQ handling routines. | 88 | * the IRQ handling routines. |
