diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-10-15 04:49:58 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-18 15:56:17 +0200 |
commit | 5f69e38885c3483a1838dd946aaf0166b727ecbd (patch) | |
tree | 1a97804a52277cf429cd3474571f91fbab0ca166 /arch/powerpc/kernel/prom_init.c | |
parent | powerpc/prom_init: Move a few remaining statics to appropriate sections (diff) | |
download | linux-5f69e38885c3483a1838dd946aaf0166b727ecbd.tar.xz linux-5f69e38885c3483a1838dd946aaf0166b727ecbd.zip |
powerpc/prom_init: Move __prombss to it's own section and store it in .bss
This makes __prombss its own section, and for now store
it in .bss.
This will give us the ability later to store it elsewhere
and/or free it after boot (it's about 8KB).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index f45ed445c9f4..88d621a7bf67 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -48,7 +48,7 @@ #include <linux/linux_logo.h> /* All of prom_init bss lives here */ -#define __prombss __initdata +#define __prombss __section(.bss.prominit) /* * Eventually bump that one up |