Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163487
b: refs/heads/master
c: 5480675
h: refs/heads/master
i:
  163485: ddbb5c4
  163483: 4905297
  163479: c7a358c
  163471: fb073ec
  163455: a7b4e46
v: v3
  • Loading branch information
Matt Fleming committed Aug 21, 2009
1 parent 02d8e7f commit d6033ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe98dd31eb9fe055703e0171134b4d074558d4e9
refs/heads/master: 5480675dc60c7dda7146e506981b2b40a775cc1e
7 changes: 4 additions & 3 deletions trunk/arch/sh/kernel/dwarf.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,8 @@ static int dwarf_parse_cie(void *entry, void *p, unsigned long len,
}

static int dwarf_parse_fde(void *entry, u32 entry_type,
void *start, unsigned long len)
void *start, unsigned long len,
unsigned char *end)
{
struct dwarf_fde *fde;
struct dwarf_cie *cie;
Expand Down Expand Up @@ -798,7 +799,7 @@ static int dwarf_parse_fde(void *entry, u32 entry_type,

/* Call frame instructions. */
fde->instructions = p;
fde->end = start + len;
fde->end = end;

/* Add to list. */
spin_lock_irqsave(&dwarf_fde_lock, flags);
Expand Down Expand Up @@ -932,7 +933,7 @@ static int __init dwarf_unwinder_init(void)
else
c_entries++;
} else {
err = dwarf_parse_fde(entry, entry_type, p, len);
err = dwarf_parse_fde(entry, entry_type, p, len, end);
if (err < 0)
goto out;
else
Expand Down

0 comments on commit d6033ca

Please sign in to comment.