Blackfin: SIC: cut down on IAR MMR reads a bit
authorMike Frysinger <vapier@gentoo.org>
Thu, 22 Apr 2010 21:15:00 +0000 (21:15 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 May 2010 18:19:09 +0000 (14:19 -0400)
commit80fcdb959343ab9e0ee95c11b5ea47c44a2c3004
tree16d44c1fb014d3b9856d65c7bd8966d35a3719b2
parent11cabcb95e0d9de15f3d8a9d25336edfc5444337
Blackfin: SIC: cut down on IAR MMR reads a bit

Tweak the for loops that operate on the SIC IAR system MMRs to avoid
re-reading them multiple times in a row.  System MMRs are a little
slower to access, so avoid the penalty when possible.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/ints-priority.c