summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2004-02-06 19:46:06 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2004-02-06 19:46:06 +0000
commit617a1bc9d3ce7d4e0771669cc3a94a3332632d85 (patch)
tree26ec2daf4a7647f938ab72865924f41847bf6f12
parent25f536d58fd356a129a384c98ebc93d8d3088f9d (diff)
[ARM] Add sys_pciconfig_* syscalls.
-rw-r--r--arch/arm/kernel/calls.S3
-rw-r--r--include/asm-arm/unistd.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index 7cf08c296881..3da0b809100a 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -285,6 +285,9 @@ __syscall_start:
.long sys_tgkill
.long sys_utimes
/* 270 */ .long sys_fadvise64_64
+ .long sys_pciconfig_iobase
+ .long sys_pciconfig_read
+ .long sys_pciconfig_write
__syscall_end:
.rept NR_syscalls - (__syscall_end - __syscall_start) / 4
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h
index 4affa93ebb48..bba255b0bb93 100644
--- a/include/asm-arm/unistd.h
+++ b/include/asm-arm/unistd.h
@@ -296,6 +296,9 @@
#define __NR_tgkill (__NR_SYSCALL_BASE+268)
#define __NR_utimes (__NR_SYSCALL_BASE+269)
#define __NR_fadvise64_64 (__NR_SYSCALL_BASE+270)
+#define __NR_pciconfig_iobase (__NR_SYSCALL_BASE+271)
+#define __NR_pciconfig_read (__NR_SYSCALL_BASE+272)
+#define __NR_pciconfig_write (__NR_SYSCALL_BASE+273)
/*
* The following SWIs are ARM private.