summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2007-10-18 00:03:56 -0700
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 00:59:04 -0700
commit7819994312fd4c3c04456abb6a64c810ecde3db4 (patch)
treebeb8162cdd30fa344c5c12df471f7a618b3989dc /arch
parentf16484f0e3035ced5ba12363f3acf6564b3f8053 (diff)
downloadop-kernel-dev-7819994312fd4c3c04456abb6a64c810ecde3db4.zip
op-kernel-dev-7819994312fd4c3c04456abb6a64c810ecde3db4.tar.gz
[PARISC] Kill incorrect cast warning in unwinder
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/unwind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c
index cf780cb..701b2d2 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);
OpenPOWER on IntegriCloud