summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2003-07-02 10:38:29 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-02 10:38:29 -0700
commit3ac57d3424bca0406b5349f5187f5e3d84f64013 (patch)
treea2f416c4e7aff468a9dc5f016710a48713c3c58a /include/linux
parent7b957b78f962cf3e844b7ddf8d740cb21dd276b9 (diff)
[PATCH] Make ksoftirqd a normal per-cpu variable.
This moves the ksoftirqd pointers out of the irq_stat struct, and uses a normal per-cpu variable. It's not that time critical, nor referenced in assembler. This moves us closer to making irq_stat a per-cpu variable. Because some archs have hardcoded asm references to offsets in this structure, I haven't touched non-x86. The __ksoftirqd_task field is unused in other archs, too.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/irq_cpustat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/irq_cpustat.h b/include/linux/irq_cpustat.h
index 641e7964a0d7..03b3e17de805 100644
--- a/include/linux/irq_cpustat.h
+++ b/include/linux/irq_cpustat.h
@@ -29,8 +29,6 @@ extern irq_cpustat_t irq_stat[]; /* defined in asm/hardirq.h */
/* arch independent irq_stat fields */
#define softirq_pending(cpu) __IRQ_STAT((cpu), __softirq_pending)
#define local_softirq_pending() softirq_pending(smp_processor_id())
-#define ksoftirqd_task(cpu) __IRQ_STAT((cpu), __ksoftirqd_task)
-#define local_ksoftirqd_task() ksoftirqd_task(smp_processor_id())
/* arch dependent irq_stat fields */
#define nmi_count(cpu) __IRQ_STAT((cpu), __nmi_count) /* i386 */