Skip to contentSkip to conversation

PPC: use KSYM_NAME_LEN

PATCH Applied Cyrill Gorcunov 1 participant 1 message Jan 23, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 PPC: use KSYM_NAME_LEN

Use KSYM_NAME_LEN instead of numeric value

---

arch/ppc/xmon/xmon.c +1 -1
Index: linux-2.6.git/arch/ppc/xmon/xmon.c
===================================================================
@@ -180,7 +180,7 @@ static void xmon_print_symbol(unsigned l
 	char *modname;
 	const char *name = NULL;
 	unsigned long offset, size;
-	static char tmpstr[128];
+	static char tmpstr[KSYM_NAME_LEN];
 
 	printf("%.8lx", address);
 	if (setjmp(bus_error_jmp) == 0) {