All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Ungerer <gerg@snapgear.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux/m68k <linux-m68k@vger.kernel.org>,
	uClinux list <uclinux-dev@uclinux.org>
Subject: Re: [PATCH] m68k, m68knommu: Wire up preadv and pwritev
Date: Fri, 10 Apr 2009 08:38:55 +1000	[thread overview]
Message-ID: <49DE78FF.4030002@snapgear.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0904092226330.29544@anakin>

Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Acked-by: Greg Ungerer <gerg@uclinux.org>


> ---
>  arch/m68k/include/asm/unistd.h       |    4 +++-
>  arch/m68k/kernel/entry.S             |    2 ++
>  arch/m68knommu/kernel/syscalltable.S |    2 ++
>  3 files changed, 7 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
> index 3c19027..aa29a86 100644
> --- a/arch/m68k/include/asm/unistd.h
> +++ b/arch/m68k/include/asm/unistd.h
> @@ -332,10 +332,12 @@
>  #define __NR_dup3		326
>  #define __NR_pipe2		327
>  #define __NR_inotify_init1	328
> +#define __NR_preadv		329
> +#define __NR_pwritev		330
>  
>  #ifdef __KERNEL__
>  
> -#define NR_syscalls		329
> +#define NR_syscalls		331
>  
>  #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 5c332f2..8744f60 100644
> --- a/arch/m68k/kernel/entry.S
> +++ b/arch/m68k/kernel/entry.S
> @@ -753,4 +753,6 @@ sys_call_table:
>  	.long sys_dup3
>  	.long sys_pipe2
>  	.long sys_inotify_init1
> +	.long sys_preadv
> +	.long sys_pwritev		/* 330 */
>  
> diff --git a/arch/m68knommu/kernel/syscalltable.S b/arch/m68knommu/kernel/syscalltable.S
> index 1017e76..c0b8782 100644
> --- a/arch/m68knommu/kernel/syscalltable.S
> +++ b/arch/m68knommu/kernel/syscalltable.S
> @@ -347,6 +347,8 @@ ENTRY(sys_call_table)
>  	.long sys_dup3
>  	.long sys_pipe2
>  	.long sys_inotify_init1
> +	.long sys_preadv
> +	.long sys_pwritev		/* 330 */
>  
>  	.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
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

      reply	other threads:[~2009-04-09 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 20:30 [PATCH] m68k,m68knommu: Wire up preadv and pwritev Geert Uytterhoeven
2009-04-09 22:38 ` Greg Ungerer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DE78FF.4030002@snapgear.com \
    --to=gerg@snapgear.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=uclinux-dev@uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.