xref: /openbmc/linux/arch/x86/boot/version.c (revision c4a7b9b5)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /* -*- linux-c -*- ------------------------------------------------------- *
3  *
4  *   Copyright (C) 1991, 1992 Linus Torvalds
5  *   Copyright 2007 rPath, Inc. - All Rights Reserved
6  *
7  * ----------------------------------------------------------------------- */
8 
9 /*
10  * Kernel version string
11  */
12 
13 #include "boot.h"
14 #include <generated/utsversion.h>
15 #include <generated/utsrelease.h>
16 #include <generated/compile.h>
17 
18 const char kernel_version[] =
19 	UTS_RELEASE " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ") "
20 	UTS_VERSION;
21