projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f0978
)
Blackfin: simplify symbol_lookup() a bit
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 6 Jan 2009 15:00:48 +0000
(10:00 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 23 Mar 2009 19:14:54 +0000
(15:14 -0400)
No need to skip a byte as the symbol table handles this.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/traps.c
patch
|
blob
|
history
diff --git
a/cpu/blackfin/traps.c
b/cpu/blackfin/traps.c
index a2c6f1eceba894ceadf218ef299ae76440a0a282..2121b0e4cbcb0492b330cf14320ee394e164fbfa 100644
(file)
--- 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;