diff options
author | Will Deacon <will.deacon@arm.com> | 2012-07-30 17:42:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 20:25:21 -0400 |
commit | c1d7e01d7877a397655277a920aeaa3830ed9461 (patch) | |
tree | 26ba70159355ba60d835cef1a417f03eaec0148c /arch/avr32 | |
parent | 05ba3f1aa1b04e921068249dd52a80bc84c2aeb4 (diff) |
ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION
Rather than #define the options manually in the architecture code, add
Kconfig options for them and select them there instead. This also allows
us to select the compat IPC version parsing automatically for platforms
using the old compat IPC interface.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/Kconfig | 1 | ||||
-rw-r--r-- | arch/avr32/include/asm/unistd.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index 71d38c76726c..5ade51c8a87f 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
@@ -12,6 +12,7 @@ config AVR32 | |||
12 | select HARDIRQS_SW_RESEND | 12 | select HARDIRQS_SW_RESEND |
13 | select GENERIC_IRQ_SHOW | 13 | select GENERIC_IRQ_SHOW |
14 | select ARCH_HAVE_CUSTOM_GPIO_H | 14 | select ARCH_HAVE_CUSTOM_GPIO_H |
15 | select ARCH_WANT_IPC_PARSE_VERSION | ||
15 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 16 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
16 | select GENERIC_CLOCKEVENTS | 17 | select GENERIC_CLOCKEVENTS |
17 | help | 18 | help |
diff --git a/arch/avr32/include/asm/unistd.h b/arch/avr32/include/asm/unistd.h index f714544e5560..1358e366f4be 100644 --- a/arch/avr32/include/asm/unistd.h +++ b/arch/avr32/include/asm/unistd.h | |||
@@ -318,7 +318,6 @@ | |||
318 | /* SMP stuff */ | 318 | /* SMP stuff */ |
319 | #define __IGNORE_getcpu | 319 | #define __IGNORE_getcpu |
320 | 320 | ||
321 | #define __ARCH_WANT_IPC_PARSE_VERSION | ||
322 | #define __ARCH_WANT_STAT64 | 321 | #define __ARCH_WANT_STAT64 |
323 | #define __ARCH_WANT_SYS_ALARM | 322 | #define __ARCH_WANT_SYS_ALARM |
324 | #define __ARCH_WANT_SYS_GETHOSTNAME | 323 | #define __ARCH_WANT_SYS_GETHOSTNAME |