summaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/regs_32.S
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-10-14 22:23:03 +0200
committerChris Metcalf <cmetcalf@tilera.com>2010-10-15 21:38:09 +0200
commita78c942df64ef4cf495fd4d8715e48501bd7f8a4 (patch)
treefe44212d36e6ca23dbe9f2c633824389216a3d1d /arch/tile/kernel/regs_32.S
parentarch/tile: add Tilera's <arch/sim.h> header as an open-source header (diff)
downloadlinux-a78c942df64ef4cf495fd4d8715e48501bd7f8a4.tar.xz
linux-a78c942df64ef4cf495fd4d8715e48501bd7f8a4.zip
arch/tile: parameterize system PLs to support KVM port
While not a port to KVM (yet), this change modifies the kernel to be able to build either at PL1 or at PL2 with a suitable config switch. Pushing up this change avoids handling branch merge issues going forward with the KVM work. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/regs_32.S')
-rw-r--r--arch/tile/kernel/regs_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/regs_32.S b/arch/tile/kernel/regs_32.S
index e88d6e122783..caa13101c264 100644
--- a/arch/tile/kernel/regs_32.S
+++ b/arch/tile/kernel/regs_32.S
@@ -85,7 +85,7 @@ STD_ENTRY_SECTION(__switch_to, .sched.text)
{
/* Update sp and ksp0 simultaneously to avoid backtracer warnings. */
move sp, r13
- mtspr SYSTEM_SAVE_1_0, r2
+ mtspr SPR_SYSTEM_SAVE_K_0, r2
}
FOR_EACH_CALLEE_SAVED_REG(LOAD_REG)
.L__switch_to_pc: