aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/dwarf.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-11 17:53:53 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-11 17:53:53 -0400
commit871039f02f8ec4ab2e5e9010718caa8e085786f1 (patch)
treef0d2b3127fc48c862967d68c46c2d46668137515 /arch/sh/kernel/dwarf.c
parente4077e018b5ead3de9951fc01d8bf12eeeeeefed (diff)
parent4a1032faac94ebbf647460ae3e06fc21146eb280 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/stmmac/stmmac_main.c drivers/net/wireless/wl12xx/wl1271_cmd.c drivers/net/wireless/wl12xx/wl1271_main.c drivers/net/wireless/wl12xx/wl1271_spi.c net/core/ethtool.c net/mac80211/scan.c
Diffstat (limited to 'arch/sh/kernel/dwarf.c')
-rw-r--r--arch/sh/kernel/dwarf.c5
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;