summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorMeelis Roos <mroos@linux.ee>2007-07-25 14:17:43 +0200
committerPaul Mackerras <paulus@samba.org>2007-09-22 06:49:21 +0200
commit3e61576b2ac930b9d1fa2c8d077552f7e7709b3c (patch)
tree2e697d15621e8a4b3014f9935943bb9dc8e22f5d /arch/ppc
parent[POWERPC] Prevent direct inclusion of <asm/rwsem.h>. (diff)
downloadlinux-3e61576b2ac930b9d1fa2c8d077552f7e7709b3c.tar.xz
linux-3e61576b2ac930b9d1fa2c8d077552f7e7709b3c.zip
[POWERPC] Fix ppc kernels after build-id addition
This patch fixes arch/ppc kernels, at least for prep subarch, after build-id addition. Without this, kernels were 3 times the size and bootloader refused to load them. Now they are back to normal again. Tested only with Roland McGrath's "Use LDFLAGS_MODULE only for .ko links" patch applied - boots and works fine. Signed-off-by: Meelis Roos <mroos@linux.ee> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc/kernel/vmlinux.lds.S b/arch/ppc/kernel/vmlinux.lds.S
index c0aac3ff9e91..98c1212674f6 100644
--- a/arch/ppc/kernel/vmlinux.lds.S
+++ b/arch/ppc/kernel/vmlinux.lds.S
@@ -91,6 +91,8 @@ SECTIONS
. = ALIGN(8192);
.data.init_task : { *(.data.init_task) }
+ NOTES
+
. = ALIGN(4096);
__init_begin = .;
.init.text : {