summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/fs/proc/version.c
diff options
context:
space:
mode:
authorKevin2014-11-15 10:00:36 +0800
committerKevin2014-11-15 10:00:36 +0800
commit9d40ac5867b9aefe0722bc1f110b965ff294d30d (patch)
treede942df665fac4bac0d9cb7ae86910fe937b0c1a /ANDROID_3.4.5/fs/proc/version.c
parent392e8802486cb573b916e746010e141a75f507e6 (diff)
downloadFOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.gz
FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.tar.bz2
FOSSEE-netbook-kernel-source-9d40ac5867b9aefe0722bc1f110b965ff294d30d.zip
add via modify part source code for wm8880 4.4 kitkat
Diffstat (limited to 'ANDROID_3.4.5/fs/proc/version.c')
-rw-r--r--ANDROID_3.4.5/fs/proc/version.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/fs/proc/version.c b/ANDROID_3.4.5/fs/proc/version.c
index 76817a60..8d181cdc 100644
--- a/ANDROID_3.4.5/fs/proc/version.c
+++ b/ANDROID_3.4.5/fs/proc/version.c
@@ -4,13 +4,19 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/utsname.h>
+#include <asm/mach/version.h>
static int version_proc_show(struct seq_file *m, void *v)
{
+#if 1 /* add to show kernel version */
+ seq_printf(m, "%s\n",linux_banner);
+ seq_printf(m, "Kernel %s (%s - %s)\n",CONFIG_KERNEL_VERSION,__DATE__,__TIME__);
+#else
seq_printf(m, linux_proc_banner,
utsname()->sysname,
utsname()->release,
utsname()->version);
+#endif
return 0;
}