diff options
| author | Greg Ungerer <gerg@snapgear.com> | 2003-07-06 23:00:04 -0700 |
|---|---|---|
| committer | Steve French <cifs.adm@hostme.bitkeeper.com> | 2003-07-06 23:00:04 -0700 |
| commit | 4c397a46724a0d9331cbbcc3f025c35c1fa6c08e (patch) | |
| tree | 71e1679c25a50ab9fce70946dc8a4ae668837cd4 | |
| parent | 395b6e1dc40be8a1515f577f3c9f52508d965c96 (diff) | |
[PATCH] .no .romvec section for DragonEngine/68328 target
A couple of minor fixes for the 68328 interrupt setup code.
- don't define the .romvec section for DragonEngine build
- print newline at end of spurious interrupt count in show_interrupts()
| -rw-r--r-- | arch/m68knommu/platform/68328/ints.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/68328/ints.c b/arch/m68knommu/platform/68328/ints.c index 2d864431dd42..290fdd07b7b0 100644 --- a/arch/m68knommu/platform/68328/ints.c +++ b/arch/m68knommu/platform/68328/ints.c @@ -81,6 +81,7 @@ 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 .section .romvec @@ -102,6 +103,7 @@ e_vectors: ignore: rte "); +#endif /* * This function should be called during kernel startup to initialize @@ -204,7 +206,7 @@ int show_interrupts(struct seq_file *p, void *v) seq_printf(p, " "); seq_printf(p, "%s\n", int_irq_list[i].devname); } - seq_printf(p, " : %10u spurious", num_spurious); + seq_printf(p, " : %10u spurious\n", num_spurious); return 0; } |
