Re: [PATCH 1/4] [IA64] hpsim, fix SAL handling in fw-emu
From: Greg KH
Date: Thu Mar 08 2012 - 15:29:59 EST
On Thu, Mar 08, 2012 at 09:01:16PM +0100, Jiri Slaby wrote:
> The switch-cases of SAL_FREQ_BASE generate non-relocatable code. The
> same as for the ifs one level upper. This causes oopses early in boot
> because the kernel jumps to the hell instead of the offset in sal
> callback.
>
> So use ifs here for SAL_FREQ_BASE decision too.
>
> Isn't there any compiler directive or settings to solve that cleanly?
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
<snip>
Thanks for these, that works, I'll get back to applying the reset of
your series.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/