diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-16 16:07:38 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-16 16:07:38 -0400 |
commit | 97f361e2498ada54b48a235619eaf5af8e46427e (patch) | |
tree | 20b2802ebd75ef05028e029159db034f1d126cc1 /arch/sh/include/asm/dwarf.h | |
parent | cd7246f0e2747bd2b43d25d0f63f05db182a62c0 (diff) |
sh: unwinder: Move initialization to early_initcall() and tidy up locking.
This moves the initialization over to an early_initcall(). This fixes up
some lockdep interaction issues. At the same time, kill off some
superfluous locking in the init path.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/dwarf.h')
-rw-r--r-- | arch/sh/include/asm/dwarf.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/asm/dwarf.h b/arch/sh/include/asm/dwarf.h index d3d3837c5e1b..2fbe8720411e 100644 --- a/arch/sh/include/asm/dwarf.h +++ b/arch/sh/include/asm/dwarf.h | |||
@@ -370,8 +370,6 @@ static inline unsigned int DW_CFA_operand(unsigned long insn) | |||
370 | #define DW_EXT_HI 0xffffffff | 370 | #define DW_EXT_HI 0xffffffff |
371 | #define DW_EXT_DWARF64 DW_EXT_HI | 371 | #define DW_EXT_DWARF64 DW_EXT_HI |
372 | 372 | ||
373 | extern void dwarf_unwinder_init(void); | ||
374 | |||
375 | extern struct dwarf_frame *dwarf_unwind_stack(unsigned long, | 373 | extern struct dwarf_frame *dwarf_unwind_stack(unsigned long, |
376 | struct dwarf_frame *); | 374 | struct dwarf_frame *); |
377 | #endif /* __ASSEMBLY__ */ | 375 | #endif /* __ASSEMBLY__ */ |