root/init/version.c

/* [previous][next][first][last][top][bottom][index][help] */
   1 /*
   2  *  linux/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/config.h>
  10 #include <linux/utsname.h>
  11 #include <linux/version.h>
  12 #include <linux/compile.h>
  13 
  14 /* make the "checkconfig" script happy: we really need to include config.h */
  15 #ifdef CONFIG_BOGUS
  16 #endif
  17 
  18 #define version(a) Version_ ## a
  19 #define version_string(a) version(a)
  20 
  21 int version_string(LINUX_VERSION_CODE) = 0;
  22 
  23 struct new_utsname system_utsname = {
  24         UTS_SYSNAME, UTS_NODENAME, UTS_RELEASE, UTS_VERSION,
  25         UTS_MACHINE, UTS_DOMAINNAME
  26 };
  27 
  28 const char *linux_banner = 
  29         "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
  30         LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";

/* [previous][next][first][last][top][bottom][index][help] */