* [PATCH 6/6] SH64: use KSYM_NAME_LEN
@ 2008-01-23 17:39 Cyrill Gorcunov
0 siblings, 0 replies; only message in thread
From: Cyrill Gorcunov @ 2008-01-23 17:39 UTC (permalink / raw)
To: LKML
Cc: Ingo Molnar, David Miller, Andrew Morton, Paul Mackerras,
Peter Zijlstra, Thomas Gleixner
Use KSYM_NAME_LEN instead of numeric value
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
Index: linux-2.6.git/arch/sh64/kernel/unwind.c
===================================================================
--- linux-2.6.git.orig/arch/sh64/kernel/unwind.c 2008-01-21 19:35:06.000000000 +0300
+++ linux-2.6.git/arch/sh64/kernel/unwind.c 2008-01-23 19:16:41.000000000 +0300
@@ -46,7 +46,7 @@ static int lookup_prev_stack_frame(unsig
struct pt_regs *regs)
{
const char *sym;
- char namebuf[128];
+ char namebuf[KSYM_NAME_LEN];
unsigned long offset;
unsigned long prologue = 0;
unsigned long fp_displacement = 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-23 17:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 17:39 [PATCH 6/6] SH64: use KSYM_NAME_LEN Cyrill Gorcunov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox