aboutsummaryrefslogtreecommitdiffstats
path: root/init/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/version.c')
-rw-r--r--init/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/version.c b/init/version.c
index 041fd822ce24..52a8b98642b8 100644
--- a/init/version.c
+++ b/init/version.c
@@ -13,11 +13,13 @@
13#include <linux/utsrelease.h> 13#include <linux/utsrelease.h>
14#include <linux/version.h> 14#include <linux/version.h>
15 15
16#ifndef CONFIG_KALLSYMS
16#define version(a) Version_ ## a 17#define version(a) Version_ ## a
17#define version_string(a) version(a) 18#define version_string(a) version(a)
18 19
19extern int version_string(LINUX_VERSION_CODE); 20extern int version_string(LINUX_VERSION_CODE);
20int version_string(LINUX_VERSION_CODE); 21int version_string(LINUX_VERSION_CODE);
22#endif
21 23
22struct uts_namespace init_uts_ns = { 24struct uts_namespace init_uts_ns = {
23 .kref = { 25 .kref = {