]> git.baikalelectronics.ru Git - kernel.git/commit
Don't put "linux_banner" in the .init section
authorLinus Torvalds <torvalds@woody.osdl.org>
Fri, 12 Jan 2007 02:18:04 +0000 (18:18 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 12 Jan 2007 02:18:04 +0000 (18:18 -0800)
commit7a19575c1a9bdcee4d1cb65fdf0864b9eb73c3a1
treec27e0dbdaf3b693d23b5f5885cab50ec6133c282
parent606f4fc6da7dcc6533929228a31a7cc32459455c
Don't put "linux_banner" in the .init section

It might save a few bytes after bootup, but it causes the string to be
linked in at the end of the final vmlinux image, which defeats the whole
point of doing all this, namely allowing some broken user-space binaries
to search for the kernel version string in the kernel binary.

So just remove the __init specifier.

Cc: Olaf Hering <olaf@aepfle.de>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Andrew Morton <akpm@osdl.org>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
init/version.c