diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-06-03 09:29:03 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-17 00:09:09 +1000 |
commit | a56ab7c7290f5922363d1ee11bbafc4da2b9bf51 (patch) | |
tree | 34a9150325d6ce1a54a2d8a68b6ff72bd2d9d52f /arch/powerpc/kernel/head_44x.S | |
parent | 25910260ff69fa0c37e26541aac4e8f978e1f17f (diff) | |
download | linux-a56ab7c7290f5922363d1ee11bbafc4da2b9bf51.tar.gz linux-a56ab7c7290f5922363d1ee11bbafc4da2b9bf51.tar.bz2 linux-a56ab7c7290f5922363d1ee11bbafc4da2b9bf51.zip |
powerpc/nohash: Convert set_context() to C
ppc8xx already has set_context() in C.
Other ones have it in assembly. The only thing it does is to
write the context id into SPRN_PID.
Do it in C.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a5d0759064f3831c6b88af49ef5d3b05ba1c4dad.1622712515.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/head_44x.S')
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index 76c84acd9086..2c4ffec027a2 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S @@ -788,11 +788,6 @@ _GLOBAL(__fixup_440A_mcheck) sync blr -_GLOBAL(set_context) - mtspr SPRN_PID,r3 - isync /* Force context change */ - blr - /* * Init CPU state. This is called at boot time or for secondary CPUs * to setup initial TLB entries, setup IVORs, etc... |