]> git.baikalelectronics.ru Git - kernel.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, 6 Nov 2012 04:47:21 +0000 (13:47 +0900)
commit70a64db386b39fe1e0d956e22343025d49514567
treeeadd753e7bc5dca10c2a0b7ae08c863f4eb57086
parent2678895a0605aade550cd1f7cc8c850325cc99f5
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