git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
sh64
/
kernel
/
sys_sh64.c
diff --git
a/arch/sh64/kernel/sys_sh64.c
b/arch/sh64/kernel/sys_sh64.c
index
58ff7d5
..
10d549f
100644
(file)
--- a/
arch/sh64/kernel/sys_sh64.c
+++ b/
arch/sh64/kernel/sys_sh64.c
@@
-29,6
+29,7
@@
#include <linux/file.h>
#include <linux/utsname.h>
#include <linux/syscalls.h>
#include <linux/file.h>
#include <linux/utsname.h>
#include <linux/syscalls.h>
+#include <linux/vs_cvirt.h>
#include <asm/uaccess.h>
#include <asm/ipc.h>
#include <asm/ptrace.h>
#include <asm/uaccess.h>
#include <asm/ipc.h>
#include <asm/ptrace.h>
@@
-279,7
+280,7
@@
asmlinkage int sys_uname(struct old_utsname * name)
if (!name)
return -EFAULT;
down_read(&uts_sem);
if (!name)
return -EFAULT;
down_read(&uts_sem);
- err=copy_to_user(name,
&system_utsname
, sizeof (*name));
+ err=copy_to_user(name,
vx_new_utsname()
, sizeof (*name));
up_read(&uts_sem);
return err?-EFAULT:0;
}
up_read(&uts_sem);
return err?-EFAULT:0;
}