diff options
| -rw-r--r-- | arch/ia64/kernel/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 407efea04bf5..1f9b1d818dcd 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
| @@ -960,6 +960,11 @@ cpu_init (void) | |||
| 960 | 960 | ||
| 961 | /* clear TPR & XTP to enable all interrupt classes: */ | 961 | /* clear TPR & XTP to enable all interrupt classes: */ |
| 962 | ia64_setreg(_IA64_REG_CR_TPR, 0); | 962 | ia64_setreg(_IA64_REG_CR_TPR, 0); |
| 963 | |||
| 964 | /* Clear any pending interrupts left by SAL/EFI */ | ||
| 965 | while (ia64_get_ivr() != IA64_SPURIOUS_INT_VECTOR) | ||
| 966 | ia64_eoi(); | ||
| 967 | |||
| 963 | #ifdef CONFIG_SMP | 968 | #ifdef CONFIG_SMP |
| 964 | normal_xtp(); | 969 | normal_xtp(); |
| 965 | #endif | 970 | #endif |
