From 1e0f54598cd48da1db3e33ad128de60f974261bf Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Jan 2004 18:40:26 -0800 Subject: [PATCH] [PATCH] fix cpu stats in m68knommu entry.S 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68knommu/platform/5307/entry.S b/arch/m68knommu/platform/5307/entry.S index 2ea3f741e2b43..6795d83e4d4f6 100644 --- a/arch/m68knommu/platform/5307/entry.S +++ b/arch/m68knommu/platform/5307/entry.S @@ -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 */ -- 2.53.0