forked from luck/tmp_suning_uos_patched
[POWERPC] iSeries: fix irq.c for combined build
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
f9df68ec7b
commit
b06a318372
@ -268,7 +268,8 @@ void do_IRQ(struct pt_regs *regs)
|
|||||||
set_irq_regs(old_regs);
|
set_irq_regs(old_regs);
|
||||||
|
|
||||||
#ifdef CONFIG_PPC_ISERIES
|
#ifdef CONFIG_PPC_ISERIES
|
||||||
if (get_lppaca()->int_dword.fields.decr_int) {
|
if (firmware_has_feature(FW_FEATURE_ISERIES) &&
|
||||||
|
get_lppaca()->int_dword.fields.decr_int) {
|
||||||
get_lppaca()->int_dword.fields.decr_int = 0;
|
get_lppaca()->int_dword.fields.decr_int = 0;
|
||||||
/* Signal a fake decrementer interrupt */
|
/* Signal a fake decrementer interrupt */
|
||||||
timer_interrupt(regs);
|
timer_interrupt(regs);
|
||||||
|
Loading…
Reference in New Issue
Block a user