]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: r8a7779: Replace modify_scu_cpu_psr with scu_power_mode
authorBastian Hecht <hechtb@googlemail.com>
Thu, 25 Oct 2012 10:58:22 +0000 (12:58 +0200)
committerSimon Horman <horms@verge.net.au>
Tue, 30 Oct 2012 07:17:26 +0000 (15:17 +0800)
commit213807767787e5165a9be416e893ca315a209fe7
treea22df95536e8819e18e3a6266da850a067c854e7
parentcd12af34b51a9b87ef2199ef87c7ac81bb69d51c
ARM: shmobile: r8a7779: Replace modify_scu_cpu_psr with scu_power_mode

We can remove the extra code of modify_scu_cpu_psr() and use the cleaner
generic ARM helper scu_power_mode(). As every CPU only deals with its
own power register and scu_power_mode() operates with 8-bit accesses,
we save the locking overhead too.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7779.c