Skip to contentSkip to conversation

update show_stack() in voyager for new prototype

PATCH New James Bottomley 1 participant 1 message Jun 30, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update show_stack() in voyager for new prototype

When show_stack() was changed to take two arguments, the use in the voyager code was not converted. This patch makes the correct conversion.

James

===== arch/i386/mach-voyager/voyager_basic.c 1.2 vs edited =====

arch/i386/mach-voyager/voyager_basic.c +1 -2
@@ -284,7 +284,6 @@
 {
 	__u8 dumpval __attribute__((unused)) = inb(0xf823);
 	__u8 swnmi __attribute__((unused)) = inb(0xf813);
-	extern void show_stack(unsigned long *);
 
 	/* FIXME: assume dump switch pressed */
 	/* check to see if the dump switch was pressed */
@@ -302,7 +301,7 @@
 		}
 	}
 	printk(KERN_ERR "VOYAGER: Dump switch pressed, printing CPU%d tracebacks\n", smp_processor_id());
-	show_stack(NULL);
+	show_stack(NULL, NULL);
 	show_state();
 }