]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: emev2: Replace modify_scu_cpu_psr with scu_power_mode
authorBastian Hecht <hechtb@googlemail.com>
Thu, 25 Oct 2012 10:58:20 +0000 (12:58 +0200)
committerSimon Horman <horms@verge.net.au>
Tue, 30 Oct 2012 07:17:22 +0000 (15:17 +0800)
commit17c971ab909f0e78e9b700e6befe356baebda4b5
tree21499d7026772b8e3a7e99161aa24b27e5ec3a15
parent066113dc5f5f26f9b98e05c02b5eded3f5dc0a3a
ARM: shmobile: emev2: 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-emev2.c