diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-17 12:24:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-17 12:24:04 -0400 |
commit | ac1d426e825ab5778995f2f6f053ca2e6b45c622 (patch) | |
tree | 75b91356ca39463e0112931aa6790802fb1e07a2 /arch/sh/kernel/dwarf.c | |
parent | fda0e18c8a7a3e02747c2b045b4fcd2c920410b9 (diff) | |
parent | a3685f00652af83f12b63e3b4ef48f29581ba48b (diff) |
Merge branch 'devel-stable' into devel
Conflicts:
arch/arm/Kconfig
arch/arm/include/asm/system.h
arch/arm/mm/Kconfig
Diffstat (limited to 'arch/sh/kernel/dwarf.c')
-rw-r--r-- | arch/sh/kernel/dwarf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/dwarf.c b/arch/sh/kernel/dwarf.c index bd1c497280a6..a8234b2010d1 100644 --- a/arch/sh/kernel/dwarf.c +++ b/arch/sh/kernel/dwarf.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
23 | #include <linux/elf.h> | 23 | #include <linux/elf.h> |
24 | #include <linux/ftrace.h> | 24 | #include <linux/ftrace.h> |
25 | #include <linux/slab.h> | ||
25 | #include <asm/dwarf.h> | 26 | #include <asm/dwarf.h> |
26 | #include <asm/unwinder.h> | 27 | #include <asm/unwinder.h> |
27 | #include <asm/sections.h> | 28 | #include <asm/sections.h> |
@@ -727,7 +728,7 @@ static int dwarf_parse_cie(void *entry, void *p, unsigned long len, | |||
727 | unsigned char *end, struct module *mod) | 728 | unsigned char *end, struct module *mod) |
728 | { | 729 | { |
729 | struct rb_node **rb_node = &cie_root.rb_node; | 730 | struct rb_node **rb_node = &cie_root.rb_node; |
730 | struct rb_node *parent; | 731 | struct rb_node *parent = *rb_node; |
731 | struct dwarf_cie *cie; | 732 | struct dwarf_cie *cie; |
732 | unsigned long flags; | 733 | unsigned long flags; |
733 | int count; | 734 | int count; |
@@ -856,7 +857,7 @@ static int dwarf_parse_fde(void *entry, u32 entry_type, | |||
856 | unsigned char *end, struct module *mod) | 857 | unsigned char *end, struct module *mod) |
857 | { | 858 | { |
858 | struct rb_node **rb_node = &fde_root.rb_node; | 859 | struct rb_node **rb_node = &fde_root.rb_node; |
859 | struct rb_node *parent; | 860 | struct rb_node *parent = *rb_node; |
860 | struct dwarf_fde *fde; | 861 | struct dwarf_fde *fde; |
861 | struct dwarf_cie *cie; | 862 | struct dwarf_cie *cie; |
862 | unsigned long flags; | 863 | unsigned long flags; |