patch-2.4.0-test4 linux/arch/ppc/xmon/xmon.c

Next file: linux/arch/s390/config.in
Previous file: linux/arch/ppc/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/arch/ppc/xmon/xmon.c linux/arch/ppc/xmon/xmon.c
@@ -84,8 +84,10 @@
 static struct bpt *at_breakpoint(unsigned pc);
 static void bpt_cmds(void);
 static void cacheflush(void);
+#if 0 /* Makes compile with -Wall */
 static char *pretty_print_addr(unsigned long addr);
 static char *lookup_name(unsigned long addr);
+#endif
 static void csum(void);
 
 extern int print_insn_big_powerpc(FILE *, unsigned long, unsigned);
@@ -1493,6 +1495,7 @@
 	lineptr = str;
 }
 
+#if 0 /* Makes compile with -Wall */
 static char *pretty_print_addr(unsigned long addr)
 {
 	printf("%08x", addr);
@@ -1500,14 +1503,15 @@
 		printf(" %s", lookup_name(addr) );
 	return NULL;
 }
+#endif
 
+#if 0 /* Makes compile with -Wall */
 static char *lookup_name(unsigned long addr)
 {
 	extern char *sysmap;
 	extern unsigned long sysmap_size;
 	char *c = sysmap;
 	unsigned long cmp;
-
 	if ( !sysmap || !sysmap_size )
 		return NULL;
 return NULL;	
@@ -1525,4 +1529,4 @@
 	return last;
 #endif	
 }
-
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)