Commit 4c397a46 authored by Greg Ungerer's avatar Greg Ungerer Committed by Steve French

[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()
parent 395b6e1d
...@@ -81,6 +81,7 @@ unsigned int local_irq_count[NR_CPUS]; ...@@ -81,6 +81,7 @@ unsigned int local_irq_count[NR_CPUS];
/* irq node variables for the 32 (potential) on chip sources */ /* irq node variables for the 32 (potential) on chip sources */
static irq_node_t int_irq_list[NR_IRQS]; static irq_node_t int_irq_list[NR_IRQS];
#if !defined(CONFIG_DRAGEN2)
asm (" asm ("
.global _start, __ramend .global _start, __ramend
.section .romvec .section .romvec
...@@ -102,6 +103,7 @@ asm (" ...@@ -102,6 +103,7 @@ asm ("
ignore: rte ignore: rte
"); ");
#endif
/* /*
* This function should be called during kernel startup to initialize * This function should be called during kernel startup to initialize
...@@ -204,7 +206,7 @@ int show_interrupts(struct seq_file *p, void *v) ...@@ -204,7 +206,7 @@ int show_interrupts(struct seq_file *p, void *v)
seq_printf(p, " "); seq_printf(p, " ");
seq_printf(p, "%s\n", int_irq_list[i].devname); 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment