1 /* 2 * linux/init/version.c 3 * 4 * Copyright (C) 1992 Theodore Ts'o 5 * 6 * May be freely distributed as part of Linux. 7 */ 8 9 #include <linux/uts.h> 10 #include <linux/utsname.h> 11 #include <linux/version.h> 12 #include <linux/compile.h> 13 14 #define version(a) Version_ ## a 15 #define version_string(a) version(a) 16 17 int version_string(LINUX_VERSION_CODE); 18 19 struct new_utsname system_utsname = { 20 UTS_SYSNAME, UTS_NODENAME, UTS_RELEASE, UTS_VERSION, 21 UTS_MACHINE, UTS_DOMAINNAME 22 }; 23 24 const char *linux_banner = 25 "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@" 26 LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n"; 27