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>
This commit is contained in:
parent
8ca2d5151e
commit
5f69e38885
@ -48,7 +48,7 @@
|
|||||||
#include <linux/linux_logo.h>
|
#include <linux/linux_logo.h>
|
||||||
|
|
||||||
/* All of prom_init bss lives here */
|
/* All of prom_init bss lives here */
|
||||||
#define __prombss __initdata
|
#define __prombss __section(.bss.prominit)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Eventually bump that one up
|
* Eventually bump that one up
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
#else
|
#else
|
||||||
#define PROVIDE32(x) PROVIDE(x)
|
#define PROVIDE32(x) PROVIDE(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BSS_FIRST_SECTIONS *(.bss.prominit)
|
||||||
|
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <asm-generic/vmlinux.lds.h>
|
#include <asm-generic/vmlinux.lds.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user