Re: m68k,m68knommu: Wire up name_to_handle_at, open_by_handle_at, clock_adjtime

From: Geert Uytterhoeven
Date: Sun Mar 20 2011 - 08:29:12 EST


Oops, lost the subject

On Sun, Mar 20, 2011 at 13:11, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> Âarch/m68k/include/asm/unistd.h    |  Â5 ++++-
> Âarch/m68k/kernel/entry.S Â Â Â Â Â Â | Â Â3 +++
> Âarch/m68knommu/kernel/syscalltable.S | Â Â3 +++
> Â3 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
> index 26d851d..f69f7ce 100644
> --- a/arch/m68k/include/asm/unistd.h
> +++ b/arch/m68k/include/asm/unistd.h
> @@ -343,10 +343,13 @@
> Â#define __NR_fanotify_init   337
> Â#define __NR_fanotify_mark   338
> Â#define __NR_prlimit64 Â Â Â Â 339
> +#define __NR_name_to_handle_at 340
> +#define __NR_open_by_handle_at 341
> +#define __NR_clock_adjtime   342
>
> Â#ifdef __KERNEL__
>
> -#define NR_syscalls      Â340
> +#define NR_syscalls      Â343
>
> Â#define __ARCH_WANT_IPC_PARSE_VERSION
> Â#define __ARCH_WANT_OLD_READDIR
> diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S
> index 1559dea..8f9524a 100644
> --- a/arch/m68k/kernel/entry.S
> +++ b/arch/m68k/kernel/entry.S
> @@ -750,4 +750,7 @@ sys_call_table:
> Â Â Â Â.long sys_fanotify_init
> Â Â Â Â.long sys_fanotify_mark
> Â Â Â Â.long sys_prlimit64
> +    .long sys_name_to_handle_at   /* 340 */
> + Â Â Â .long sys_open_by_handle_at
> + Â Â Â .long sys_clock_adjtime
>
> diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S
> index 79b1ed1..605bbbe 100644
> --- a/arch/m68knommu/kernel/syscalltable.S
> +++ b/arch/m68knommu/kernel/syscalltable.S
> @@ -358,6 +358,9 @@ ENTRY(sys_call_table)
> Â Â Â Â.long sys_fanotify_init
> Â Â Â Â.long sys_fanotify_mark
> Â Â Â Â.long sys_prlimit64
> +    .long sys_name_to_handle_at   /* 340 */
> + Â Â Â .long sys_open_by_handle_at
> + Â Â Â .long sys_clock_adjtime
>
> Â Â Â Â.rept NR_syscalls-(.-sys_call_table)/4
> Â Â Â Â Â Â Â Â.long sys_ni_syscall
> --
> 1.7.0.4

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/