Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: Fix linker script breakage.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>

authored by

Helge Deller and committed by
Kyle McMartin
8cf06fc9 9609bfec

+10
+10
arch/parisc/kernel/vmlinux.lds.S
··· 28 28 #include <asm/cache.h> 29 29 #include <asm/page.h> 30 30 #include <asm/asm-offsets.h> 31 + #include <asm/thread_info.h> 31 32 32 33 /* ld script to make hppa Linux kernel */ 33 34 #ifndef CONFIG_64BIT ··· 135 134 __init_begin = .; 136 135 INIT_TEXT_SECTION(16384) 137 136 INIT_DATA_SECTION(16) 137 + /* we have to discard exit text and such at runtime, not link time */ 138 + .exit.text : 139 + { 140 + EXIT_TEXT 141 + } 142 + .exit.data : 143 + { 144 + EXIT_DATA 145 + } 138 146 139 147 PERCPU(PAGE_SIZE) 140 148 . = ALIGN(PAGE_SIZE);