projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[linux-2.6-microblaze.git]
/
kernel
/
sys.c
diff --git
a/kernel/sys.c
b/kernel/sys.c
index
8bb46e5
..
b09fe21
100644
(file)
--- a/
kernel/sys.c
+++ b/
kernel/sys.c
@@
-1242,7
+1242,7
@@
static int override_release(char __user *release, size_t len)
break;
rest++;
}
- v =
((LINUX_VERSION_CODE >> 8) & 0xff)
+ 60;
+ v =
LINUX_VERSION_PATCHLEVEL
+ 60;
copy = clamp_t(size_t, len, 1, sizeof(buf));
copy = scnprintf(buf, copy, "2.6.%u%s", v, rest);
ret = copy_to_user(release, buf, copy + 1);