projects
/
platform
/
kernel
/
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
a2c6f1e
..
2121b0e
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;