diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-12-04 22:31:08 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-12-08 19:40:25 -0500 |
commit | 1a8f6f97ea4dbaaa21b05cae2dacea47e4aea37b (patch) | |
tree | 512a16aa42a5d8ee882e36c175b3c01530741f2e /arch/powerpc/kernel/paca.c | |
parent | d317ac1750141db07ba30ecb1e2bacebad292fcd (diff) |
powerpc: Make slb_shadow a local
The only external user of slb_shadow is the pseries lpar code, and it
can access through the paca array instead.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/paca.c')
-rw-r--r-- | arch/powerpc/kernel/paca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c index 0620eaaaad45..9095a6f7ac2c 100644 --- a/arch/powerpc/kernel/paca.c +++ b/arch/powerpc/kernel/paca.c | |||
@@ -99,7 +99,7 @@ static inline void free_lppacas(void) { } | |||
99 | * 3 persistent SLBs are registered here. The buffer will be zero | 99 | * 3 persistent SLBs are registered here. The buffer will be zero |
100 | * initially, hence will all be invaild until we actually write them. | 100 | * initially, hence will all be invaild until we actually write them. |
101 | */ | 101 | */ |
102 | struct slb_shadow slb_shadow[] __cacheline_aligned = { | 102 | static struct slb_shadow slb_shadow[] __cacheline_aligned = { |
103 | [0 ... (NR_CPUS-1)] = { | 103 | [0 ... (NR_CPUS-1)] = { |
104 | .persistent = cpu_to_be32(SLB_NUM_BOLTED), | 104 | .persistent = cpu_to_be32(SLB_NUM_BOLTED), |
105 | .buffer_length = cpu_to_be32(sizeof(struct slb_shadow)), | 105 | .buffer_length = cpu_to_be32(sizeof(struct slb_shadow)), |