Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78199943 authored by Kyle McMartin's avatar Kyle McMartin Committed by Kyle McMartin
Browse files

[PARISC] Kill incorrect cast warning in unwinder



Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent f16484f0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);