Commit 1e0f5459 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent 521789cb
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment