Thread (136 messages) 136 messages, 15 authors, 2008-07-08

Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c

From: Arnd Bergmann <arnd@arndb.de>
Date: 2008-06-26 16:05:27
Also in: linux-arch, lkml

On Thursday 26 June 2008, monstr@seznam.cz wrote:
+
+int sys_uname(struct old_utsname *name)
+{
+=A0=A0=A0=A0=A0=A0=A0int err =3D -EFAULT;
+
+=A0=A0=A0=A0=A0=A0=A0down_read(&uts_sem);
+=A0=A0=A0=A0=A0=A0=A0if (name && !copy_to_user(name, utsname(), sizeof(*=
name)))
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0err =3D 0;
+=A0=A0=A0=A0=A0=A0=A0up_read(&uts_sem);
+=A0=A0=A0=A0=A0=A0=A0return err;
+}
This actually seems to be dead code, as your sys_call_table only contains
sys_newuname but not sys_uname.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help