mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Make more syscalls available for the FR-V arch
Date: Wed, 08 Dec 2004 17:51:33 +0000	[thread overview]
Message-ID: <7717.1102528293@redhat.com> (raw)


The attached patch makes more syscalls available for the FR-V arch.

Signed-Off-By: David Howells <dhowells@redhat.com>
---
warthog>diffstat frv-syscalls-2610rc2mm3-3.diff 
 arch/frv/kernel/entry.S  |   13 ++++++++++++-
 include/asm-frv/unistd.h |   13 ++++++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)

diff -uNrp linux-2.6.10-rc2-mm3-mmcleanup/arch/frv/kernel/entry.S linux-2.6.10-rc2-mm3-shmem/arch/frv/kernel/entry.S
--- linux-2.6.10-rc2-mm3-mmcleanup/arch/frv/kernel/entry.S	2004-11-22 10:53:41.000000000 +0000
+++ linux-2.6.10-rc2-mm3-shmem/arch/frv/kernel/entry.S	2004-12-07 15:31:52.000000000 +0000
@@ -1389,7 +1389,7 @@ sys_call_table:
 	.long sys_epoll_ctl	/* 255 */
 	.long sys_epoll_wait
  	.long __MMU(sys_remap_file_pages)
- 	.long sys_ni_syscall	//sys_set_tid_address
+ 	.long sys_set_tid_address
  	.long sys_timer_create
  	.long sys_timer_settime		/* 260 */
  	.long sys_timer_gettime
@@ -1415,6 +1415,17 @@ sys_call_table:
 	.long sys_mq_notify
 	.long sys_mq_getsetattr
 	.long sys_ni_syscall		/* reserved for kexec */
+	.long sys_waitid
+	.long sys_ni_syscall		/* 285 */ /* available */
+	.long sys_add_key
+	.long sys_request_key
+	.long sys_keyctl
+	.long sys_perfctr_info
+	.long sys_vperfctr_open		/* 290 */
+	.long sys_vperfctr_control
+	.long sys_vperfctr_unlink
+	.long sys_vperfctr_iresume
+	.long sys_vperfctr_read
 
 
 syscall_table_size = (. - sys_call_table)
diff -uNrp linux-2.6.10-rc2-mm3-mmcleanup/include/asm-frv/unistd.h linux-2.6.10-rc2-mm3-shmem/include/asm-frv/unistd.h
--- linux-2.6.10-rc2-mm3-mmcleanup/include/asm-frv/unistd.h	2004-11-22 10:54:12.000000000 +0000
+++ linux-2.6.10-rc2-mm3-shmem/include/asm-frv/unistd.h	2004-11-24 14:17:06.000000000 +0000
@@ -290,8 +290,19 @@
 #define __NR_mq_notify		(__NR_mq_open+4)
 #define __NR_mq_getsetattr	(__NR_mq_open+5)
 #define __NR_sys_kexec_load	283
+#define __NR_waitid		284
+/* #define __NR_sys_setaltroot	285 */
+#define __NR_add_key		286
+#define __NR_request_key	287
+#define __NR_keyctl		288
+#define __NR_perfctr_info	289
+#define __NR_vperfctr_open	(__NR_perfctr_info+1)
+#define __NR_vperfctr_control	(__NR_perfctr_info+2)
+#define __NR_vperfctr_unlink	(__NR_perfctr_info+3)
+#define __NR_vperfctr_iresume	(__NR_perfctr_info+4)
+#define __NR_vperfctr_read	(__NR_perfctr_info+5)
 
-#define NR_syscalls 284
+#define NR_syscalls 295
 
 /*
  * process the return value of a syscall, consigning it to one of two possible fates

                 reply	other threads:[~2004-12-08 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7717.1102528293@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome