]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] trivial additions to symbold offsets for m68knommu arch
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Dec 2002 13:56:07 +0000 (05:56 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 5 Dec 2002 13:56:07 +0000 (05:56 -0800)
From:  Greg Ungerer <gerg@moreton.com.au>

  Add the new kernel_stat struct offset to the audo-generated offsets
  for arch/m68knommu/kernel/asm-offsets.c.

arch/m68knommu/kernel/asm-offsets.c

index 1de2cb7be7a467cdee3d4b889dc8272bad2b405c..8c81e421a0301f5f36d6dd11a138be67d3627371 100644 (file)
@@ -32,6 +32,9 @@ 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));