From: Kyle McMartin Date: Thu, 18 Oct 2007 07:03:56 +0000 (-0700) Subject: [PARISC] Kill incorrect cast warning in unwinder X-Git-Tag: v2.6.24-rc1~118^2~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7819994312fd4c3c04456abb6a64c810ecde3db4;p=linux-2.6 [PARISC] Kill incorrect cast warning in unwinder Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index cf780cb3b9..701b2d2d88 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c @@ -209,8 +209,8 @@ static int unwind_init(void) static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) { - void handle_interruption(int, struct pt_regs *); - static unsigned long *hi = (unsigned long)&handle_interruption; + extern void handle_interruption(int, struct pt_regs *); + static unsigned long *hi = (unsigned long *)&handle_interruption; if (pc == get_func_addr(hi)) { struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN);