[PATCH 2/2] [POWERPC] Wire up sys_utimensat

Domen Puncer domen.puncer at telargo.com
Wed May 9 16:42:03 EST 2007


On 09/05/07 16:24 +1000, Stephen Rothwell wrote:
> 
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
>  include/asm-powerpc/systbl.h |    1 +
>  include/asm-powerpc/unistd.h |    3 ++-
>  2 files changed, 3 insertions(+), 1 deletions(-)
> 
> This depends on the patch to declare {compat_}sys_utimensat
> -- 
> Cheers,
> Stephen Rothwell                    sfr at canb.auug.org.au
> 
> diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h
> index 2baedbe..2b11631 100644
> --- a/include/asm-powerpc/unistd.h
> +++ b/include/asm-powerpc/unistd.h
> @@ -326,10 +326,11 @@
>  #define __NR_move_pages		301
>  #define __NR_getcpu		302
>  #define __NR_epoll_pwait	303
> +#define __NR_utimensat		303

					^ 304?


	Domen

>  
>  #ifdef __KERNEL__
>  
> -#define __NR_syscalls		304
> +#define __NR_syscalls		305
>  
>  #define __NR__exit __NR_exit
>  #define NR_syscalls	__NR_syscalls
> -- 
> 1.5.1.3
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev



More information about the Linuxppc-dev mailing list