diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/kernel/traps.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c index 6e3d491184ea..b91b2044af9c 100644 --- a/arch/avr32/kernel/traps.c +++ b/arch/avr32/kernel/traps.c | |||
@@ -32,22 +32,25 @@ void NORET_TYPE die(const char *str, struct pt_regs *regs, long err) | |||
32 | spin_lock_irq(&die_lock); | 32 | spin_lock_irq(&die_lock); |
33 | bust_spinlocks(1); | 33 | bust_spinlocks(1); |
34 | 34 | ||
35 | printk(KERN_ALERT "Oops: %s, sig: %ld [#%d]\n" KERN_EMERG, | 35 | printk(KERN_ALERT "Oops: %s, sig: %ld [#%d]\n", |
36 | str, err, ++die_counter); | 36 | str, err, ++die_counter); |
37 | |||
38 | printk(KERN_EMERG); | ||
39 | |||
37 | #ifdef CONFIG_PREEMPT | 40 | #ifdef CONFIG_PREEMPT |
38 | printk("PREEMPT "); | 41 | printk(KERN_CONT "PREEMPT "); |
39 | #endif | 42 | #endif |
40 | #ifdef CONFIG_FRAME_POINTER | 43 | #ifdef CONFIG_FRAME_POINTER |
41 | printk("FRAME_POINTER "); | 44 | printk(KERN_CONT "FRAME_POINTER "); |
42 | #endif | 45 | #endif |
43 | if (current_cpu_data.features & AVR32_FEATURE_OCD) { | 46 | if (current_cpu_data.features & AVR32_FEATURE_OCD) { |
44 | unsigned long did = ocd_read(DID); | 47 | unsigned long did = ocd_read(DID); |
45 | printk("chip: 0x%03lx:0x%04lx rev %lu\n", | 48 | printk(KERN_CONT "chip: 0x%03lx:0x%04lx rev %lu\n", |
46 | (did >> 1) & 0x7ff, | 49 | (did >> 1) & 0x7ff, |
47 | (did >> 12) & 0x7fff, | 50 | (did >> 12) & 0x7fff, |
48 | (did >> 28) & 0xf); | 51 | (did >> 28) & 0xf); |
49 | } else { | 52 | } else { |
50 | printk("cpu: arch %u r%u / core %u r%u\n", | 53 | printk(KERN_CONT "cpu: arch %u r%u / core %u r%u\n", |
51 | current_cpu_data.arch_type, | 54 | current_cpu_data.arch_type, |
52 | current_cpu_data.arch_revision, | 55 | current_cpu_data.arch_revision, |
53 | current_cpu_data.cpu_type, | 56 | current_cpu_data.cpu_type, |