From: Mike Frysinger Date: Tue, 6 Jan 2009 15:00:48 +0000 (-0500) Subject: Blackfin: simplify symbol_lookup() a bit X-Git-Tag: v2009.06-rc1~138^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a75fa148d60b1975403441e45565621bba50d2d9;p=platform%2Fkernel%2Fu-boot.git Blackfin: simplify symbol_lookup() a bit No need to skip a byte as the symbol table handles this. Signed-off-by: Mike Frysinger --- diff --git a/cpu/blackfin/traps.c b/cpu/blackfin/traps.c index a2c6f1e..2121b0e 100644 --- a/cpu/blackfin/traps.c +++ b/cpu/blackfin/traps.c @@ -193,7 +193,7 @@ static const char *symbol_lookup(unsigned long addr, unsigned long *caddr) while (*sym) { sym_addr = simple_strtoul(sym, &esym, 16); - sym = esym + 1; + sym = esym; if (sym_addr > addr) break; *caddr = sym_addr;