diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-06-07 10:56:04 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-17 00:09:10 +1000 |
commit | 45b30fafe528601f1a4449c9d68d8ebe7bbc39ad (patch) | |
tree | 0e9c004ec205051e1ad08b924548777052f5c51a /arch/powerpc/kernel/head_fsl_booke.S | |
parent | a1ea0ca8a6f17d7b79bbc4d05dd4e6ca162d8f15 (diff) | |
download | linux-stable-45b30fafe528601f1a4449c9d68d8ebe7bbc39ad.tar.gz linux-stable-45b30fafe528601f1a4449c9d68d8ebe7bbc39ad.tar.bz2 linux-stable-45b30fafe528601f1a4449c9d68d8ebe7bbc39ad.zip |
powerpc: Define empty_zero_page[] in C
At the time being, empty_zero_page[] is defined in each
platform head.S.
Define it in mm/mem.c instead, and put it in BSS section instead
of the DATA section. Commit 5227cfa71f9e ("arm64: mm: place
empty_zero_page in bss") explains why it is interesting to have
it in BSS.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/5838caffa269e0957c5a50cc85477876220298b0.1623063174.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/head_fsl_booke.S')
-rw-r--r-- | arch/powerpc/kernel/head_fsl_booke.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S index ab718fd5e2a2..f33bc5a8e73e 100644 --- a/arch/powerpc/kernel/head_fsl_booke.S +++ b/arch/powerpc/kernel/head_fsl_booke.S @@ -1221,10 +1221,6 @@ _GLOBAL(restore_to_as0) .align 12 .globl sdata sdata: - .globl empty_zero_page -empty_zero_page: - .space 4096 -EXPORT_SYMBOL(empty_zero_page) .globl swapper_pg_dir swapper_pg_dir: .space PGD_TABLE_SIZE |