LWN.net Logo

update show_stack() in voyager for new prototype

From:  James Bottomley <James.Bottomley@steeleye.com>
To:  torvalds@transmeta.com
Subject:  [PATCH] update show_stack() in voyager for new prototype
Date:  29 Jun 2003 23:18:19 -0500
Cc:  Linux Kernel <linux-kernel@vger.kernel.org>

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 =====
--- 1.2/arch/i386/mach-voyager/voyager_basic.c	Sat Dec 28 11:15:35 2002
+++ edited/arch/i386/mach-voyager/voyager_basic.c	Sun Jun 29 21:18:29 2003
@@ -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();
 }
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds