* [PATCH] m68k,m68knommu: Wire up syncfs
@ 2011-03-23 12:35 Geert Uytterhoeven
2011-03-23 13:19 ` Greg Ungerer
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2011-03-23 12:35 UTC (permalink / raw)
To: Greg Ungerer; +Cc: Linux/m68k, uClinux list, Linux Kernel Development
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
To be folded with the previous one.
arch/m68k/include/asm/unistd.h | 3 ++-
arch/m68k/kernel/entry.S | 1 +
arch/m68knommu/kernel/syscalltable.S | 1 +
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
index f69f7ce..29e1790 100644
--- a/arch/m68k/include/asm/unistd.h
+++ b/arch/m68k/include/asm/unistd.h
@@ -346,10 +346,11 @@
#define __NR_name_to_handle_at 340
#define __NR_open_by_handle_at 341
#define __NR_clock_adjtime 342
+#define __NR_syncfs 343
#ifdef __KERNEL__
-#define NR_syscalls 343
+#define NR_syscalls 344
#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 8f9524a..1359ee6 100644
--- a/arch/m68k/kernel/entry.S
+++ b/arch/m68k/kernel/entry.S
@@ -753,4 +753,5 @@ sys_call_table:
.long sys_name_to_handle_at /* 340 */
.long sys_open_by_handle_at
.long sys_clock_adjtime
+ .long sys_syncfs
diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S
index 605bbbe..9b8393d 100644
--- a/arch/m68knommu/kernel/syscalltable.S
+++ b/arch/m68knommu/kernel/syscalltable.S
@@ -361,6 +361,7 @@ ENTRY(sys_call_table)
.long sys_name_to_handle_at /* 340 */
.long sys_open_by_handle_at
.long sys_clock_adjtime
+ .long sys_syncfs
.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@linux-m68k.org
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] m68k,m68knommu: Wire up syncfs
2011-03-23 12:35 [PATCH] m68k,m68knommu: Wire up syncfs Geert Uytterhoeven
@ 2011-03-23 13:19 ` Greg Ungerer
0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2011-03-23 13:19 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Greg Ungerer, Linux/m68k, uClinux list, Linux Kernel Development
On 23/03/11 22:35, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven<geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
> To be folded with the previous one.
>
> arch/m68k/include/asm/unistd.h | 3 ++-
> arch/m68k/kernel/entry.S | 1 +
> arch/m68knommu/kernel/syscalltable.S | 1 +
> 3 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
> index f69f7ce..29e1790 100644
> --- a/arch/m68k/include/asm/unistd.h
> +++ b/arch/m68k/include/asm/unistd.h
> @@ -346,10 +346,11 @@
> #define __NR_name_to_handle_at 340
> #define __NR_open_by_handle_at 341
> #define __NR_clock_adjtime 342
> +#define __NR_syncfs 343
>
> #ifdef __KERNEL__
>
> -#define NR_syscalls 343
> +#define NR_syscalls 344
>
> #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 8f9524a..1359ee6 100644
> --- a/arch/m68k/kernel/entry.S
> +++ b/arch/m68k/kernel/entry.S
> @@ -753,4 +753,5 @@ sys_call_table:
> .long sys_name_to_handle_at /* 340 */
> .long sys_open_by_handle_at
> .long sys_clock_adjtime
> + .long sys_syncfs
>
> diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S
> index 605bbbe..9b8393d 100644
> --- a/arch/m68knommu/kernel/syscalltable.S
> +++ b/arch/m68knommu/kernel/syscalltable.S
> @@ -361,6 +361,7 @@ ENTRY(sys_call_table)
> .long sys_name_to_handle_at /* 340 */
> .long sys_open_by_handle_at
> .long sys_clock_adjtime
> + .long sys_syncfs
>
> .rept NR_syscalls-(.-sys_call_table)/4
> .long sys_ni_syscall
--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-23 13:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 12:35 [PATCH] m68k,m68knommu: Wire up syncfs Geert Uytterhoeven
2011-03-23 13:19 ` Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox