summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Jones <davej@codemonkey.org.uk>2002-10-07 19:23:00 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-07 19:23:00 -0700
commit8b969c530f0acc8972aa4d3648160dfc36ffb076 (patch)
tree13579cb412f8e94e13131822444af7fb9e8bda9c /include
parentbc3c34ef3142690ccdfe73174cd81a6074e7bd93 (diff)
[PATCH] move apic_timer_irqs to irqstat
This patch from Ravikiran G Thirumalai removes cacheline bouncing of apic_timer_irqs
Diffstat (limited to 'include')
-rw-r--r--include/asm-i386/apic.h1
-rw-r--r--include/asm-i386/hardirq.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/apic.h b/include/asm-i386/apic.h
index a99aa679923d..d473175e79f5 100644
--- a/include/asm-i386/apic.h
+++ b/include/asm-i386/apic.h
@@ -87,7 +87,6 @@ extern void enable_APIC_timer(void);
extern struct pm_dev *apic_pm_register(pm_dev_t, unsigned long, pm_callback);
extern void apic_pm_unregister(struct pm_dev*);
-extern unsigned int apic_timer_irqs [NR_CPUS];
extern int check_nmi_watchdog (void);
extern void enable_NMI_through_LVT0 (void * dummy);
diff --git a/include/asm-i386/hardirq.h b/include/asm-i386/hardirq.h
index c32f2cd81dae..d4460e405e9d 100644
--- a/include/asm-i386/hardirq.h
+++ b/include/asm-i386/hardirq.h
@@ -12,6 +12,7 @@ typedef struct {
struct task_struct * __ksoftirqd_task; /* waitqueue is too large */
unsigned long idle_timestamp;
unsigned int __nmi_count; /* arch dependent */
+ unsigned int apic_timer_irqs; /* arch dependent */
} ____cacheline_aligned irq_cpustat_t;
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */