Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67762
b: refs/heads/master
c: 4e77ae3
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed Oct 12, 2007
1 parent fa30246 commit 88bcfa9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8ce33590687888ebb900d09557b8807c4539022
refs/heads/master: 4e77ae3e105d28aa9410585715d83818f0abe871
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/nmi_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ int __kprobes nmi_watchdog_tick(struct pt_regs * regs, unsigned reason)
touched = 1;
}

sum = read_pda(apic_timer_irqs);
sum = read_pda(apic_timer_irqs) + read_pda(irq0_irqs);
if (__get_cpu_var(nmi_touch)) {
__get_cpu_var(nmi_touch) = 0;
touched = 1;
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/time_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)

static irqreturn_t timer_event_interrupt(int irq, void *dev_id)
{
add_pda(irq0_irqs, 1);

global_clock_event->event_handler(global_clock_event);

return IRQ_HANDLED;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-x86/pda.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ struct x8664_pda {
short isidle;
struct mm_struct *active_mm;
unsigned apic_timer_irqs;
unsigned irq0_irqs;
} ____cacheline_aligned_in_smp;

extern struct x8664_pda *_cpu_pda[];
Expand Down

0 comments on commit 88bcfa9

Please sign in to comment.