[PATCH 58/60] microblaze_v4: sys_microblaze.c

Arnd Bergmann arnd at arndb.de
Fri Jun 27 02:04:24 EST 2008


On Thursday 26 June 2008, monstr at seznam.cz wrote:
> +
> +int sys_uname(struct old_utsname *name)
> +{
> +       int err = -EFAULT;
> +
> +       down_read(&uts_sem);
> +       if (name && !copy_to_user(name, utsname(), sizeof(*name)))
> +               err = 0;
> +       up_read(&uts_sem);
> +       return err;
> +}

This actually seems to be dead code, as your sys_call_table only contains
sys_newuname but not sys_uname.

	Arnd <><



More information about the Linuxppc-dev mailing list