From: Roman Zippel <zippel@linux-m68k.org>
Date: Mon, 13 Oct 2008 19:58:50 +0000 (+0200)
Subject: m68k: Add NOTES to init data so its discarded at boot
X-Git-Tag: v2.6.28-rc1~594
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=08a3db94f2a36c28278922732bc281c1722ceb18;p=linux-2.6-omap-h63xx.git

m68k: Add NOTES to init data so its discarded at boot

Add .note.gnu.build-id to init data so it's discarded at boot.

[Andreas Schwab] Use NOTES macro

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---

diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds
index bc63ff6cdb3..f846d4e3e5e 100644
--- a/arch/m68k/kernel/vmlinux-std.lds
+++ b/arch/m68k/kernel/vmlinux-std.lds
@@ -74,6 +74,7 @@ SECTIONS
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
 #endif
+  NOTES
   . = ALIGN(8192);
   __init_end = .;