lkml.org 
[lkml]   [2014]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/15] parisc: add renameat2 syscall
On 04/11/2014 12:25 PM, Miklos Szeredi wrote:
> From: Miklos Szeredi <mszeredi@suse.cz>

Thanks Miklos!

> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
> Cc: Helge Deller <deller@gmx.de>

Acked-by: Helge Deller <deller@gmx.de>

Can you please push it with the other arches.

Helge

> ---
> arch/parisc/include/uapi/asm/unistd.h | 3 ++-
> arch/parisc/kernel/syscall_table.S | 1 +
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h
> index 265ae5190b0a..47e0e21d2272 100644
> --- a/arch/parisc/include/uapi/asm/unistd.h
> +++ b/arch/parisc/include/uapi/asm/unistd.h
> @@ -829,8 +829,9 @@
> #define __NR_sched_setattr (__NR_Linux + 334)
> #define __NR_sched_getattr (__NR_Linux + 335)
> #define __NR_utimes (__NR_Linux + 336)
> +#define __NR_renameat2 (__NR_Linux + 337)
>
> -#define __NR_Linux_syscalls (__NR_utimes + 1)
> +#define __NR_Linux_syscalls (__NR_renameat2 + 1)
>
>
> #define __IGNORE_select /* newselect */
> diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
> index 80e5dd248934..a595266fdb4d 100644
> --- a/arch/parisc/kernel/syscall_table.S
> +++ b/arch/parisc/kernel/syscall_table.S
> @@ -432,6 +432,7 @@
> ENTRY_SAME(sched_setattr)
> ENTRY_SAME(sched_getattr) /* 335 */
> ENTRY_COMP(utimes)
> + ENTRY_COMP(renameat2)
>
> /* Nothing yet */
>
>



\
 
 \ /
  Last update: 2014-04-19 21:21    [W:0.240 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site