[ARM] 3824/1: iop3xx: add cp6 enable/disable macros
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 18 Sep 2006 22:20:55 +0000 (23:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:25:44 +0000 (10:25 +0100)
commit0b29de4a6ac0936f56b974a3c19bd9c24ac5b5d7
treed93449b73cbfc51458d72cae01229c9df103ec0e
parent863753a81e4f863015be34900dc2ba3637622f34
[ARM] 3824/1: iop3xx: add cp6 enable/disable macros

Add macros to enable and disable access to CP6.  On the iop3xx, enabling
CP6 access unfortunately also enables access to that coprocessor from
unprivileged code, so we need these macros to enable and disable access
to the coprocessor whenever we need to access it.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/hardware/iop3xx.h