• Linus Torvalds's avatar
    Don't put "linux_banner" in the .init section · c71551ad
    Linus Torvalds authored
    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: default avatarAndy Whitcroft <apw@shadowen.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c71551ad
version.c 1.01 KB