]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix cpu stats in m68knommu entry.S
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:40:26 +0000 (18:40 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:40:26 +0000 (18:40 -0800)
From: gerg@snapgear.com

Fix cpu stats code to match changes to higher level kstat data structure
for m68knommu ColdFire CPU architectures.  This fixes all ColdFire
sub-architecture CPU types.

arch/m68knommu/platform/5307/entry.S

index 2ea3f741e2b4396c2a84ea47608aad3e67a64fd2..6795d83e4d4f6cd568210fde5f3e8116715e5af3 100644 (file)
@@ -182,7 +182,7 @@ ENTRY(inthandler)
        movew   %sp@(LFORMATVEC),%d0    /* put exception # in d0 */
        andl    #0x03fc,%d0             /* mask out vector only */
 
-       leal    kstat__per_cpu+STAT_IRQ,%a0
+       leal    per_cpu__kstat+STAT_IRQ,%a0
        addql   #1,%a0@(%d0)
 
        lsrl    #2,%d0                  /* calculate real vector # */
@@ -213,7 +213,7 @@ ENTRY(fasthandler)
        movew   %sp@(LFORMATVEC),%d0
        andl    #0x03fc,%d0             /* mask out vector only */
 
-       leal    kstat__per_cpu+STAT_IRQ,%a0
+       leal    per_cpu__kstat+STAT_IRQ,%a0
        addql   #1,%a0@(%d0)
 
        movel   %sp,%sp@-               /* push regs arg onto stack */