mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[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>
This commit is contained in:
parent
727dda800f
commit
0d44269e1f
1 changed files with 1 additions and 19 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <asm/system.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/irqnode.h>
|
||||
#include <asm/traps.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/machdep.h>
|
||||
|
@ -82,25 +83,6 @@ unsigned int local_irq_count[NR_CPUS];
|
|||
/* irq node variables for the 32 (potential) on chip sources */
|
||||
static irq_node_t int_irq_list[NR_IRQS];
|
||||
|
||||
#if !defined(CONFIG_DRAGEN2)
|
||||
asm (".global _start, __ramend/n/t"
|
||||
".section .romvec/n"
|
||||
"e_vectors:\n\t"
|
||||
".long __ramend-4, _start, buserr, trap, trap, trap, trap, trap\n\t"
|
||||
".long trap, trap, trap, trap, trap, trap, trap, trap\n\t"
|
||||
".long trap, trap, trap, trap, trap, trap, trap, trap\n\t"
|
||||
".long trap, trap, trap, trap\n\t"
|
||||
".long trap, trap, trap, trap\n\t"
|
||||
/*.long inthandler, inthandler, inthandler, inthandler
|
||||
.long inthandler4, inthandler, inthandler, inthandler */
|
||||
/* TRAP #0-15 */
|
||||
".long system_call, trap, trap, trap, trap, trap, trap, trap\n\t"
|
||||
".long trap, trap, trap, trap, trap, trap, trap, trap\n\t"
|
||||
".long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n\t"
|
||||
".text\n"
|
||||
"ignore: rte");
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This function should be called during kernel startup to initialize
|
||||
* the IRQ handling routines.
|
||||
|
|
Loading…
Reference in a new issue