diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-10-22 09:29:32 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-09 08:46:55 +0300 |
commit | 6e980b5c56a266de479fcd022a03e094574e9a03 (patch) | |
tree | 97a0da746d384fadacf3829969a500de8e3b35f1 /arch/powerpc | |
parent | 4b74a35fc7e9b8efd9067b8a365bab0fefe889ff (diff) | |
download | linux-6e980b5c56a266de479fcd022a03e094574e9a03.tar.xz |
powerpc/32s: Declare Hash related vars as __initdata
Hash related vars are used at init only.
Declare them in __initdata.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3878ea30706839fcff9196790ff3f99c128c3f6a.1603348103.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/mm/book3s32/mmu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/mm/book3s32/mmu.c b/arch/powerpc/mm/book3s32/mmu.c index 4e01b7ec1dbe..081dd98c8232 100644 --- a/arch/powerpc/mm/book3s32/mmu.c +++ b/arch/powerpc/mm/book3s32/mmu.c @@ -33,10 +33,10 @@ u8 __initdata early_hash[SZ_256K] __aligned(SZ_256K) = {0}; -static struct hash_pte *Hash = (struct hash_pte *)early_hash; -static unsigned long Hash_size, Hash_mask; -unsigned long _SDR1; -static unsigned int hash_mb, hash_mb2; +static struct hash_pte __initdata *Hash = (struct hash_pte *)early_hash; +static unsigned long __initdata Hash_size, Hash_mask; +static unsigned int __initdata hash_mb, hash_mb2; +unsigned long __initdata _SDR1; struct ppc_bat BATS[8][2]; /* 8 pairs of IBAT, DBAT */ |