aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle-calxeda.c
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-05-03 14:24:38 +0100
committerJon Medhurst <tixy@linaro.org>2013-05-03 14:24:38 +0100
commitc65283a962e8e391283db37939f8483249b0d276 (patch)
tree3934cce1e78da41ec9e55b70c7114b9ef212be5c /drivers/cpuidle/cpuidle-calxeda.c
parent84b4b2e12997f29a0c1890fcb700111a905ee6ad (diff)
parent23c5ac41ee7db68b1d64e75e641f026e8f1afe97 (diff)
downloadvexpress-lsk-c65283a962e8e391283db37939f8483249b0d276.tar.gz
Merge branch 'tracking-armlt-dcscb' into integration-linux-vexpress
Diffstat (limited to 'drivers/cpuidle/cpuidle-calxeda.c')
-rw-r--r--drivers/cpuidle/cpuidle-calxeda.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c
index e1aab38c5a8..ece83d6e049 100644
--- a/drivers/cpuidle/cpuidle-calxeda.c
+++ b/drivers/cpuidle/cpuidle-calxeda.c
@@ -37,20 +37,6 @@ extern void *scu_base_addr;
static struct cpuidle_device __percpu *calxeda_idle_cpuidle_devices;
-static inline unsigned int get_auxcr(void)
-{
- unsigned int val;
- asm("mrc p15, 0, %0, c1, c0, 1 @ get AUXCR" : "=r" (val) : : "cc");
- return val;
-}
-
-static inline void set_auxcr(unsigned int val)
-{
- asm volatile("mcr p15, 0, %0, c1, c0, 1 @ set AUXCR"
- : : "r" (val) : "cc");
- isb();
-}
-
static noinline void calxeda_idle_restore(void)
{
set_cr(get_cr() | CR_C);