Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc64: Fix bootup with mcount in some configs.
sparc64: Kill spurious NMI watchdog triggers by increasing limit to 30 seconds.

+6 -7
+1 -1
arch/sparc/kernel/irq_64.c
··· 886 * Therefore you cannot make any OBP calls, not even prom_printf, 887 * from these two routines. 888 */ 889 - static void __cpuinit register_one_mondo(unsigned long paddr, unsigned long type, unsigned long qmask) 890 { 891 unsigned long num_entries = (qmask + 1) / 64; 892 unsigned long status;
··· 886 * Therefore you cannot make any OBP calls, not even prom_printf, 887 * from these two routines. 888 */ 889 + static void __cpuinit notrace register_one_mondo(unsigned long paddr, unsigned long type, unsigned long qmask) 890 { 891 unsigned long num_entries = (qmask + 1) / 64; 892 unsigned long status;
+1 -1
arch/sparc/kernel/nmi.c
··· 103 } 104 if (!touched && __get_cpu_var(last_irq_sum) == sum) { 105 local_inc(&__get_cpu_var(alert_counter)); 106 - if (local_read(&__get_cpu_var(alert_counter)) == 5 * nmi_hz) 107 die_nmi("BUG: NMI Watchdog detected LOCKUP", 108 regs, panic_on_timeout); 109 } else {
··· 103 } 104 if (!touched && __get_cpu_var(last_irq_sum) == sum) { 105 local_inc(&__get_cpu_var(alert_counter)); 106 + if (local_read(&__get_cpu_var(alert_counter)) == 30 * nmi_hz) 107 die_nmi("BUG: NMI Watchdog detected LOCKUP", 108 regs, panic_on_timeout); 109 } else {
+1 -1
arch/sparc/prom/misc_64.c
··· 88 /* Drop into the prom, but completely terminate the program. 89 * No chance of continuing. 90 */ 91 - void prom_halt(void) 92 { 93 #ifdef CONFIG_SUN_LDOMS 94 if (ldom_domaining_enabled)
··· 88 /* Drop into the prom, but completely terminate the program. 89 * No chance of continuing. 90 */ 91 + void notrace prom_halt(void) 92 { 93 #ifdef CONFIG_SUN_LDOMS 94 if (ldom_domaining_enabled)
+3 -4
arch/sparc/prom/printf.c
··· 14 */ 15 16 #include <linux/kernel.h> 17 18 #include <asm/openprom.h> 19 #include <asm/oplib.h> 20 21 static char ppbuf[1024]; 22 23 - void 24 - prom_write(const char *buf, unsigned int n) 25 { 26 char ch; 27 ··· 33 } 34 } 35 36 - void 37 - prom_printf(const char *fmt, ...) 38 { 39 va_list args; 40 int i;
··· 14 */ 15 16 #include <linux/kernel.h> 17 + #include <linux/compiler.h> 18 19 #include <asm/openprom.h> 20 #include <asm/oplib.h> 21 22 static char ppbuf[1024]; 23 24 + void notrace prom_write(const char *buf, unsigned int n) 25 { 26 char ch; 27 ··· 33 } 34 } 35 36 + void notrace prom_printf(const char *fmt, ...) 37 { 38 va_list args; 39 int i;