diff options
Diffstat (limited to 'arch/ia64/kernel')
| -rw-r--r-- | arch/ia64/kernel/irq_lsapic.c | 10 | ||||
| -rw-r--r-- | arch/ia64/kernel/perfmon.c | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/arch/ia64/kernel/irq_lsapic.c b/arch/ia64/kernel/irq_lsapic.c index ea14e6a04409..1ab58b09f3d7 100644 --- a/arch/ia64/kernel/irq_lsapic.c +++ b/arch/ia64/kernel/irq_lsapic.c | |||
| @@ -26,6 +26,13 @@ lsapic_noop (unsigned int irq) | |||
| 26 | /* nuthing to do... */ | 26 | /* nuthing to do... */ |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | static int lsapic_retrigger(unsigned int irq) | ||
| 30 | { | ||
| 31 | ia64_resend_irq(irq); | ||
| 32 | |||
| 33 | return 1; | ||
| 34 | } | ||
| 35 | |||
| 29 | struct hw_interrupt_type irq_type_ia64_lsapic = { | 36 | struct hw_interrupt_type irq_type_ia64_lsapic = { |
| 30 | .typename = "LSAPIC", | 37 | .typename = "LSAPIC", |
| 31 | .startup = lsapic_noop_startup, | 38 | .startup = lsapic_noop_startup, |
| @@ -33,5 +40,6 @@ struct hw_interrupt_type irq_type_ia64_lsapic = { | |||
| 33 | .enable = lsapic_noop, | 40 | .enable = lsapic_noop, |
| 34 | .disable = lsapic_noop, | 41 | .disable = lsapic_noop, |
| 35 | .ack = lsapic_noop, | 42 | .ack = lsapic_noop, |
| 36 | .end = lsapic_noop | 43 | .end = lsapic_noop, |
| 44 | .retrigger = lsapic_retrigger, | ||
| 37 | }; | 45 | }; |
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 6d7bc8ff7b3a..a0055d3d695c 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
| @@ -6165,7 +6165,7 @@ pfm_load_regs (struct task_struct *task) | |||
| 6165 | /* | 6165 | /* |
| 6166 | * will replay the PMU interrupt | 6166 | * will replay the PMU interrupt |
| 6167 | */ | 6167 | */ |
| 6168 | if (need_irq_resend) hw_resend_irq(NULL, IA64_PERFMON_VECTOR); | 6168 | if (need_irq_resend) ia64_resend_irq(IA64_PERFMON_VECTOR); |
| 6169 | 6169 | ||
| 6170 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; | 6170 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; |
| 6171 | } | 6171 | } |
| @@ -6305,7 +6305,7 @@ pfm_load_regs (struct task_struct *task) | |||
| 6305 | /* | 6305 | /* |
| 6306 | * will replay the PMU interrupt | 6306 | * will replay the PMU interrupt |
| 6307 | */ | 6307 | */ |
| 6308 | if (need_irq_resend) hw_resend_irq(NULL, IA64_PERFMON_VECTOR); | 6308 | if (need_irq_resend) ia64_resend_irq(IA64_PERFMON_VECTOR); |
| 6309 | 6309 | ||
| 6310 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; | 6310 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; |
| 6311 | } | 6311 | } |
