diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-21 11:37:53 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-21 14:10:16 +0100 |
commit | 40058337f23f79212f92ed5ef066e90a032905b1 (patch) | |
tree | 6a0dac2960e645805cc00134cbbabfff64664c9a /arch/powerpc/kernel/head_8xx.S | |
parent | powerpc/83xx: Also save/restore SPRG4-7 during suspend (diff) | |
download | linux-40058337f23f79212f92ed5ef066e90a032905b1.tar.xz linux-40058337f23f79212f92ed5ef066e90a032905b1.zip |
powerpc: simplify BDI switch
There is no reason to re-read each time the pointer at
location 0xf0 as it is fixed and known.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/head_8xx.S')
-rw-r--r-- | arch/powerpc/kernel/head_8xx.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S index 67cbae30ebf2..7e14796bea81 100644 --- a/arch/powerpc/kernel/head_8xx.S +++ b/arch/powerpc/kernel/head_8xx.S @@ -989,5 +989,6 @@ swapper_pg_dir: /* Room for two PTE table poiners, usually the kernel and current user * pointer to their respective root page table (pgdir). */ + .globl abatron_pteptrs abatron_pteptrs: .space 8 |