summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/unwind.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-09-11 10:17:23 -0400
committerKyle McMartin <kyle@hera.kernel.org>2008-10-10 16:32:30 +0000
commitf0514ae323f19ba1ad4bea4174ea274c812f7eee (patch)
treea13bd43c66a40157590466ce0e149a86d009c039 /arch/parisc/include/asm/unwind.h
parent0be7d1fe4361bb9f2ebbd6fa394687cbe4bea950 (diff)
parisc: initialize unwinder much earlier
The unwinder was being initialized way too late to be any use debugging early boot crashes. Instead of relying on module_init initcalls to initialize it, let's do it explicitly as early as we can. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/include/asm/unwind.h')
-rw-r--r--arch/parisc/include/asm/unwind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/unwind.h b/arch/parisc/include/asm/unwind.h
index 2f7e6e50a15..52482e4fc20 100644
--- a/arch/parisc/include/asm/unwind.h
+++ b/arch/parisc/include/asm/unwind.h
@@ -74,4 +74,6 @@ void unwind_frame_init_running(struct unwind_frame_info *info, struct pt_regs *r
int unwind_once(struct unwind_frame_info *info);
int unwind_to_user(struct unwind_frame_info *info);
+int unwind_init(void);
+
#endif