diff options
Diffstat (limited to 'arch/sh/kernel/sys_sh.c')
-rw-r--r-- | arch/sh/kernel/sys_sh.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index c18cfaa67fdd..81f58371613d 100644 --- a/arch/sh/kernel/sys_sh.c +++ b/arch/sh/kernel/sys_sh.c | |||
@@ -93,14 +93,3 @@ asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) | |||
93 | up_read(¤t->mm->mmap_sem); | 93 | up_read(¤t->mm->mmap_sem); |
94 | return 0; | 94 | return 0; |
95 | } | 95 | } |
96 | |||
97 | asmlinkage int sys_uname(struct old_utsname __user *name) | ||
98 | { | ||
99 | int err; | ||
100 | if (!name) | ||
101 | return -EFAULT; | ||
102 | down_read(&uts_sem); | ||
103 | err = copy_to_user(name, utsname(), sizeof(*name)); | ||
104 | up_read(&uts_sem); | ||
105 | return err?-EFAULT:0; | ||
106 | } | ||