xref: /linux/init/version-timestamp.c (revision 7fc2cd2e4b398c57c9cf961cfea05eadbf34c05c)
1 // SPDX-License-Identifier: GPL-2.0-only
2 
3 #include <generated/compile.h>
4 #include <generated/utsrelease.h>
5 #include <linux/proc_ns.h>
6 #include <linux/refcount.h>
7 #include <linux/uts.h>
8 #include <linux/utsname.h>
9 
10 struct uts_namespace init_uts_ns = {
11 	.ns = NS_COMMON_INIT(init_uts_ns),
12 	.name = {
13 		.sysname	= UTS_SYSNAME,
14 		.nodename	= UTS_NODENAME,
15 		.release	= UTS_RELEASE,
16 		.version	= UTS_VERSION,
17 		.machine	= UTS_MACHINE,
18 		.domainname	= UTS_DOMAINNAME,
19 	},
20 	.user_ns = &init_user_ns,
21 };
22 
23 /* FIXED STRINGS! Don't touch! */
24 const char linux_banner[] =
25 	"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
26 	LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
27