Commit:     c71551ad309c46d9d2433a9b688491edbd10c806
Parent:     0404f87f2e0a0aadbda47be0f54812671207492f
Author:     Linus Torvalds <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 11 18:18:04 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Jan 11 18:18:04 2007 -0800

    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 <[EMAIL PROTECTED]>
    Cc: Jean Delvare <[EMAIL PROTECTED]>
    Cc: Roman Zippel <[EMAIL PROTECTED]>
    Cc: Andrey Borzenkov <[EMAIL PROTECTED]>
    Cc: Andrew Morton <[EMAIL PROTECTED]>
    Acked-by: Andy Whitcroft <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 init/version.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/init/version.c b/init/version.c
index 55abe76..6c01ec1 100644
--- a/init/version.c
+++ b/init/version.c
@@ -34,8 +34,8 @@ struct uts_namespace init_uts_ns = {
-/* FIXED STRING! Don't touch! */
-const char __init linux_banner[] =
+/* FIXED STRINGS! Don't touch! */
+const char linux_banner[] =
        "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to