]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: CPS: Use change_*, set_* & clear_* where appropriate
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 02:49:31 +0000 (19:49 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Aug 2017 22:57:26 +0000 (00:57 +0200)
commit1a20eb0d2097a1c05658276b27a6cc440e973eee
treeb4ffc6ee44b019c5515ec237b099cfa32d867ddf
parentd08fccf57f6b8a16872446f22bdcfed2bf7198ae
MIPS: CPS: Use change_*, set_* & clear_* where appropriate

Make use of the new change_*, set_* & clear_* accessor functions for CPS
(CM, CPC & GIC) registers where doing so makes the code easier to read
or shortens it without adversely affecting readability.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mips-cm.c
arch/mips/kernel/smp-cps.c
arch/mips/mm/sc-mips.c