[ARM] Provide a method to alter the control register
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 13 Dec 2006 18:33:53 +0000 (18:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 13 Dec 2006 18:33:53 +0000 (18:33 +0000)
commit47fd705287e9377acd2a4cee9aeeea02867d2e54
treea0772e2655771c6ec3e8511ae3f4d689e4d6ce54
parent02828845dda5ccf921ab2557c6ca17b6e7fc70e2
[ARM] Provide a method to alter the control register

i.MX needs to tweak the control register to support CPU frequency
scaling.  Rather than have folk blindly try and change the control
register by writing to it and then wondering why it doesn't work,
provide a method (which is safe for UP only, and therefore only
available for UP) to achieve this.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/system.h