diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-01-08 18:31:43 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-06 03:46:04 -0500 |
commit | 33ec723cac63529e5d0efa1125c893d2049c023d (patch) | |
tree | 65e3890d0115b8b52add2298be0dc7bc3ee325a5 /arch/powerpc/kernel/setup-common.c | |
parent | 2a196e24b39aa85351ecd9eb7cf511914157f14b (diff) |
powerpc: Move {d,i,u}cache_bsize definitions to a common place
The variables are defined twice in setup_32.c and setup_64.c, do it
once in setup-common.c instead
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index f516ac508ae3..4697da895133 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -87,6 +87,15 @@ EXPORT_SYMBOL(machine_id); | |||
87 | int boot_cpuid = -1; | 87 | int boot_cpuid = -1; |
88 | EXPORT_SYMBOL_GPL(boot_cpuid); | 88 | EXPORT_SYMBOL_GPL(boot_cpuid); |
89 | 89 | ||
90 | /* | ||
91 | * These are used in binfmt_elf.c to put aux entries on the stack | ||
92 | * for each elf executable being started. | ||
93 | */ | ||
94 | int dcache_bsize; | ||
95 | int icache_bsize; | ||
96 | int ucache_bsize; | ||
97 | |||
98 | |||
90 | unsigned long klimit = (unsigned long) _end; | 99 | unsigned long klimit = (unsigned long) _end; |
91 | 100 | ||
92 | /* | 101 | /* |