Creation of Cybook 2416 (actually Gen4) repository
This commit is contained in:
68
init/version.c
Normal file
68
init/version.c
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* linux/init/version.c
|
||||
*
|
||||
* Copyright (C) 1992 Theodore Ts'o
|
||||
*
|
||||
* May be freely distributed as part of Linux.
|
||||
*/
|
||||
|
||||
#include <linux/compile.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/uts.h>
|
||||
#include <linux/utsname.h>
|
||||
#include <linux/utsrelease.h>
|
||||
#include <linux/version.h>
|
||||
|
||||
#include <asm-arm/setup.h> //Qisda, Asaku Chen, 2009/08/17, uboot and kernel version
|
||||
|
||||
#define version(a) Version_ ## a
|
||||
#define version_string(a) version(a)
|
||||
|
||||
int version_string(LINUX_VERSION_CODE);
|
||||
|
||||
struct uts_namespace init_uts_ns = {
|
||||
.kref = {
|
||||
.refcount = ATOMIC_INIT(2),
|
||||
},
|
||||
.name = {
|
||||
.sysname = UTS_SYSNAME,
|
||||
.nodename = UTS_NODENAME,
|
||||
.release = UTS_RELEASE,
|
||||
.version = UTS_VERSION,
|
||||
.machine = UTS_MACHINE,
|
||||
.domainname = UTS_DOMAINNAME,
|
||||
},
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(init_uts_ns);
|
||||
|
||||
/* FIXED STRINGS! Don't touch! */
|
||||
#if 0
|
||||
const char linux_banner[] =
|
||||
"Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
|
||||
LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
|
||||
|
||||
const char linux_proc_banner[] =
|
||||
"%s version %s"
|
||||
" (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")"
|
||||
" (" LINUX_COMPILER ") %s\n";
|
||||
|
||||
#else
|
||||
const char linux_banner[] =
|
||||
"Linux version " UTS_RELEASE
|
||||
" (" LINUX_COMPILER ") " UTS_VERSION "\n";
|
||||
|
||||
const char linux_proc_banner[] =
|
||||
"%s version %s"
|
||||
" (" LINUX_COMPILER ") %s\n";
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
//Qisda, Asaku Chen, 2009/08/17, uboot and kernel version {
|
||||
const char qisda_kernel_proc_banner[] =
|
||||
QISDA_KERNEL_VERSION "\n";
|
||||
|
||||
const char uboot_proc_banner[ATAG_QU_VERSION_SIZE];
|
||||
const char qisda_uboot_proc_banner[ATAG_QU_VERSION_SIZE];
|
||||
//Qisda, Asaku Chen, 2009/08/17, uboot and kernel version }
|
||||
|
||||
Reference in New Issue
Block a user