diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-14 20:37:08 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-14 20:37:08 -0500 |
| commit | dbd9fd63bdc7d73f3822a5e9dfaa6654e530518c (patch) | |
| tree | 66e6d109396c68b99f6ad0575390b4d39a3c06da | |
| parent | ec5d043f2809b9aaf14e6676ddb0dc8c3a6dc8de (diff) | |
| parent | 21b6e4c7106b2d68a6710506d8706608272fd78b (diff) | |
Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
sh: wire up accept4 syscall (non-multiplexed path)
sh: Enable deprecated IRQ chip APIs for MFD and GPIOLIB drivers.
| -rw-r--r-- | arch/sh/Kconfig | 3 | ||||
| -rw-r--r-- | arch/sh/include/asm/unistd_32.h | 3 | ||||
| -rw-r--r-- | arch/sh/kernel/syscalls_32.S | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 7f217b3a50a8..2e9d78d21fd3 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
| @@ -22,7 +22,8 @@ config SUPERH | |||
| 22 | select HAVE_SPARSE_IRQ | 22 | select HAVE_SPARSE_IRQ |
| 23 | select RTC_LIB | 23 | select RTC_LIB |
| 24 | select GENERIC_ATOMIC64 | 24 | select GENERIC_ATOMIC64 |
| 25 | select GENERIC_HARDIRQS_NO_DEPRECATED | 25 | # Support the deprecated APIs until MFD and GPIOLIB catch up. |
| 26 | select GENERIC_HARDIRQS_NO_DEPRECATED if !MFD_SUPPORT && !GPIOLIB | ||
| 26 | help | 27 | help |
| 27 | The SuperH is a RISC processor targeted for use in embedded systems | 28 | The SuperH is a RISC processor targeted for use in embedded systems |
| 28 | and consumer electronics; it was also used in the Sega Dreamcast | 29 | and consumer electronics; it was also used in the Sega Dreamcast |
diff --git a/arch/sh/include/asm/unistd_32.h b/arch/sh/include/asm/unistd_32.h index 903cd618eb74..d6741fca89a4 100644 --- a/arch/sh/include/asm/unistd_32.h +++ b/arch/sh/include/asm/unistd_32.h | |||
| @@ -368,8 +368,9 @@ | |||
| 368 | #define __NR_sendmsg 355 | 368 | #define __NR_sendmsg 355 |
| 369 | #define __NR_recvmsg 356 | 369 | #define __NR_recvmsg 356 |
| 370 | #define __NR_recvmmsg 357 | 370 | #define __NR_recvmmsg 357 |
| 371 | #define __NR_accept4 358 | ||
| 371 | 372 | ||
| 372 | #define NR_syscalls 358 | 373 | #define NR_syscalls 359 |
| 373 | 374 | ||
| 374 | #ifdef __KERNEL__ | 375 | #ifdef __KERNEL__ |
| 375 | 376 | ||
diff --git a/arch/sh/kernel/syscalls_32.S b/arch/sh/kernel/syscalls_32.S index e872e81add8a..6fc347ebe59d 100644 --- a/arch/sh/kernel/syscalls_32.S +++ b/arch/sh/kernel/syscalls_32.S | |||
| @@ -375,3 +375,4 @@ ENTRY(sys_call_table) | |||
| 375 | .long sys_sendmsg /* 355 */ | 375 | .long sys_sendmsg /* 355 */ |
| 376 | .long sys_recvmsg | 376 | .long sys_recvmsg |
| 377 | .long sys_recvmmsg | 377 | .long sys_recvmmsg |
| 378 | .long sys_accept4 | ||
