Skip to content

Commit 7819994

Browse files
jkkmKyle McMartin
authored andcommitted
[PARISC] Kill incorrect cast warning in unwinder
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
1 parent f16484f commit 7819994

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/parisc/kernel/unwind.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ static int unwind_init(void)
209209

210210
static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size)
211211
{
212-
void handle_interruption(int, struct pt_regs *);
213-
static unsigned long *hi = (unsigned long)&handle_interruption;
212+
extern void handle_interruption(int, struct pt_regs *);
213+
static unsigned long *hi = (unsigned long *)&handle_interruption;
214214

215215
if (pc == get_func_addr(hi)) {
216216
struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN);

0 commit comments

Comments
 (0)