m68knommu: remove unused kernel stats offsets
authorGreg Ungerer <gerg@uclinux.org>
Fri, 17 Apr 2009 12:56:50 +0000 (22:56 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 22 Apr 2009 04:45:07 +0000 (14:45 +1000)
The irq field of the kernel stats struct is not used by the assembly
support code, so remove it from the offsets.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/kernel/asm-offsets.c

index c785d07..f500dd6 100644 (file)
@@ -30,9 +30,6 @@ int main(void)
        DEFINE(TASK_MM, offsetof(struct task_struct, mm));
        DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm));
 
-       /* offsets into the kernel_stat struct */
-       DEFINE(STAT_IRQ, offsetof(struct kernel_stat, irqs));
-
        /* offsets into the irq_cpustat_t struct */
        DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, __softirq_pending));
 
@@ -69,9 +66,6 @@ int main(void)
        DEFINE(PT_VECTOR, offsetof(struct pt_regs, pc) + 4);
 #endif
 
-       /* offsets into the kernel_stat struct */
-       DEFINE(STAT_IRQ, offsetof(struct kernel_stat, irqs));
-
        /* signal defines */
        DEFINE(SIGSEGV, SIGSEGV);
        DEFINE(SEGV_MAPERR, SEGV_MAPERR);