X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blobdiff_plain;f=init%2Fversion.c;h=adff586401a50c2e6de2ee145ae6a047fd03c6ba;hp=8f28344d9c70fda49300ac1455e98e086913b481;hb=7c070aa947d1a4105742378579c267f6e7fd08a1;hpb=4865ecf1315b450ab3317a745a6678c04d311e40 diff --git a/init/version.c b/init/version.c index 8f28344..adff586 100644 --- a/init/version.c +++ b/init/version.c @@ -6,18 +6,20 @@ * May be freely distributed as part of Linux. */ -#include +#include #include #include #include -#include +#include #include -#include +#ifndef CONFIG_KALLSYMS #define version(a) Version_ ## a #define version_string(a) version(a) +extern int version_string(LINUX_VERSION_CODE); int version_string(LINUX_VERSION_CODE); +#endif struct uts_namespace init_uts_ns = { .kref = { @@ -34,6 +36,12 @@ struct uts_namespace init_uts_ns = { }; EXPORT_SYMBOL_GPL(init_uts_ns); +/* FIXED STRINGS! Don't touch! */ const char linux_banner[] = "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n"; + +const char linux_proc_banner[] = + "%s version %s" + " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")" + " (" LINUX_COMPILER ") %s\n";