xref: /openbmc/linux/init/version-timestamp.c (revision 9b12f050)
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.count = REFCOUNT_INIT(2),
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 	.ns.inum = PROC_UTS_INIT_INO,
22 #ifdef CONFIG_UTS_NS
23 	.ns.ops = &utsns_operations,
24 #endif
25 };
26 
27 /* FIXED STRINGS! Don't touch! */
28 const char linux_banner[] =
29 	"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
30 	LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
31