Blackfin: optimize MMR reads during startup a bit
authorMike Frysinger <vapier@gentoo.org>
Mon, 18 Apr 2011 22:37:38 +0000 (18:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 May 2011 12:13:43 +0000 (08:13 -0400)
commit00b5c50e47dacd4d288c6b265e00f85711b9ac64
tree817e6662c5c91b5e3a8a4130a3af4a287782fe91
parent8c0541035007bd8bbacfc5d71c696cdf37696794
Blackfin: optimize MMR reads during startup a bit

Since the value of these MMRs aren't changing, store the value in a local
variable and work off of that.  This avoids multiple MMR reads which are
implicitly forced by the volatile markings.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/setup.c