]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Remove unused __syscall_count
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 2 Jul 2003 17:38:21 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 2 Jul 2003 17:38:21 +0000 (10:38 -0700)
Noone seems to use __syscall_count.  Remove the field from i386
irq_cpustat_t struct, and the generic accessor macros.

Because some archs have hardcoded asm references to offsets in this
structure, I haven't touched non-x86, but doing so is usually
trivial.

include/asm-i386/hardirq.h
include/linux/irq_cpustat.h

index e8b9149f0b29500421730c25c4c6b959711a3cac..a711a1890d974e2b5afbdaa7a3d61aa1d5347c94 100644 (file)
@@ -7,7 +7,6 @@
 
 typedef struct {
        unsigned int __softirq_pending;
-       unsigned int __syscall_count;
        struct task_struct * __ksoftirqd_task; /* waitqueue is too large */
        unsigned long idle_timestamp;
        unsigned int __nmi_count;       /* arch dependent */
index 3f49c2ba63ed00ff38fa1b826a57f94a054547f3..641e7964a0d72e8e63d5c3666621b3960345f492 100644 (file)
@@ -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 syscall_count(cpu)     __IRQ_STAT((cpu), __syscall_count)
-#define local_syscall_count()  syscall_count(smp_processor_id())
 #define ksoftirqd_task(cpu)    __IRQ_STAT((cpu), __ksoftirqd_task)
 #define local_ksoftirqd_task() ksoftirqd_task(smp_processor_id())