]> git.ipfire.org Git - thirdparty/linux.git/blame - init/version-timestamp.c
kbuild: build init/built-in.a just once
[thirdparty/linux.git] / init / version-timestamp.c
CommitLineData
2df8220c
MY
1// SPDX-License-Identifier: GPL-2.0-only
2
3#include <generated/compile.h>
4#include <generated/utsrelease.h>
5#include <linux/version.h>
6#include <linux/proc_ns.h>
7#include <linux/refcount.h>
8#include <linux/uts.h>
9#include <linux/utsname.h>
10
11struct uts_namespace init_uts_ns = {
12 .ns.count = REFCOUNT_INIT(2),
13 .name = {
14 .sysname = UTS_SYSNAME,
15 .nodename = UTS_NODENAME,
16 .release = UTS_RELEASE,
17 .version = UTS_VERSION,
18 .machine = UTS_MACHINE,
19 .domainname = UTS_DOMAINNAME,
20 },
21 .user_ns = &init_user_ns,
22 .ns.inum = PROC_UTS_INIT_INO,
23#ifdef CONFIG_UTS_NS
24 .ns.ops = &utsns_operations,
25#endif
26};
27
28/* FIXED STRINGS! Don't touch! */
29const char linux_banner[] =
30 "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
31 LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";