OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [before_ORP/] [uclinux/] [uClinux-2.0.x/] [init/] [version.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
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
        UTS_SYSNAME " version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
30
        LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.