From 617a1bc9d3ce7d4e0771669cc3a94a3332632d85 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 6 Feb 2004 19:46:06 +0000 Subject: [PATCH] [ARM] Add sys_pciconfig_* syscalls. --- arch/arm/kernel/calls.S | 3 +++ include/asm-arm/unistd.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 7cf08c2968812..3da0b809100ad 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 4affa93ebb48d..bba255b0bb932 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. -- 2.53.0