Blame view
init/version.c
1.1 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 6 7 |
/* * linux/init/version.c * * Copyright (C) 1992 Theodore Ts'o * * May be freely distributed as part of Linux. */ |
920459540 kbuild: move comp... |
8 |
#include <generated/compile.h> |
1da177e4c Linux-2.6.12-rc2 |
9 10 11 |
#include <linux/module.h> #include <linux/uts.h> #include <linux/utsname.h> |
273b281fa kbuild: move utsr... |
12 |
#include <generated/utsrelease.h> |
1da177e4c Linux-2.6.12-rc2 |
13 |
#include <linux/version.h> |
197dcffc8 init/version.c: d... |
14 |
#ifndef CONFIG_KALLSYMS |
1da177e4c Linux-2.6.12-rc2 |
15 16 |
#define version(a) Version_ ## a #define version_string(a) version(a) |
277e2c695 init/version.c: s... |
17 |
extern int version_string(LINUX_VERSION_CODE); |
1da177e4c Linux-2.6.12-rc2 |
18 |
int version_string(LINUX_VERSION_CODE); |
197dcffc8 init/version.c: d... |
19 |
#endif |
1da177e4c Linux-2.6.12-rc2 |
20 |
|
4865ecf13 [PATCH] namespace... |
21 22 23 24 25 26 27 28 29 30 31 32 |
struct uts_namespace init_uts_ns = { .kref = { .refcount = ATOMIC_INIT(2), }, .name = { .sysname = UTS_SYSNAME, .nodename = UTS_NODENAME, .release = UTS_RELEASE, .version = UTS_VERSION, .machine = UTS_MACHINE, .domainname = UTS_DOMAINNAME, }, |
59607db36 userns: add a use... |
33 |
.user_ns = &init_user_ns, |
1da177e4c Linux-2.6.12-rc2 |
34 |
}; |
4865ecf13 [PATCH] namespace... |
35 |
EXPORT_SYMBOL_GPL(init_uts_ns); |
3eb3c740f [PATCH] fix linux... |
36 |
|
c71551ad3 Don't put "linux_... |
37 38 |
/* FIXED STRINGS! Don't touch! */ const char linux_banner[] = |
3eb3c740f [PATCH] fix linux... |
39 40 41 42 43 44 45 46 47 |
"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION " "; const char linux_proc_banner[] = "%s version %s" " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")" " (" LINUX_COMPILER ") %s "; |