diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-10-15 05:49:59 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-18 16:56:17 +0300 |
commit | 2c51d97ee88da897db8405f659d1735ffe86ad7c (patch) | |
tree | fd8503757d401435b6c6b6c182091129b477123e /arch/powerpc/kernel/prom_init.c | |
parent | 5f69e38885c3483a1838dd946aaf0166b727ecbd (diff) | |
download | linux-2c51d97ee88da897db8405f659d1735ffe86ad7c.tar.xz |
powerpc: Check prom_init for disallowed sections
prom_init.c must not modify the kernel image outside
of the .bss.prominit section. Thus make sure that
prom_init.o doesn't have anything in any of these:
.data
.bss
.init.data
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')
0 files changed, 0 insertions, 0 deletions