mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
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
This commit is contained in:
parent
4b74a35fc7
commit
6e980b5c56
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user