Commit a463251e authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds

[PATCH] 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.
parent 92c0103b
...@@ -284,7 +284,6 @@ mca_nmi_hook(void) ...@@ -284,7 +284,6 @@ mca_nmi_hook(void)
{ {
__u8 dumpval __attribute__((unused)) = inb(0xf823); __u8 dumpval __attribute__((unused)) = inb(0xf823);
__u8 swnmi __attribute__((unused)) = inb(0xf813); __u8 swnmi __attribute__((unused)) = inb(0xf813);
extern void show_stack(unsigned long *);
/* FIXME: assume dump switch pressed */ /* FIXME: assume dump switch pressed */
/* check to see if the dump switch was pressed */ /* check to see if the dump switch was pressed */
...@@ -302,7 +301,7 @@ mca_nmi_hook(void) ...@@ -302,7 +301,7 @@ mca_nmi_hook(void)
} }
} }
printk(KERN_ERR "VOYAGER: Dump switch pressed, printing CPU%d tracebacks\n", smp_processor_id()); printk(KERN_ERR "VOYAGER: Dump switch pressed, printing CPU%d tracebacks\n", smp_processor_id());
show_stack(NULL); show_stack(NULL, NULL);
show_state(); show_state();
} }
......
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