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/Kconfig | |
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/Kconfig')
-rw-r--r-- | arch/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 8c3d957fa8e2..72f2fa189cc5 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -248,7 +248,14 @@ config HAVE_CMPXCHG_LOCAL | |||
248 | config HAVE_CMPXCHG_DOUBLE | 248 | config HAVE_CMPXCHG_DOUBLE |
249 | bool | 249 | bool |
250 | 250 | ||
251 | config ARCH_WANT_IPC_PARSE_VERSION | ||
252 | bool | ||
253 | |||
254 | config ARCH_WANT_COMPAT_IPC_PARSE_VERSION | ||
255 | bool | ||
256 | |||
251 | config ARCH_WANT_OLD_COMPAT_IPC | 257 | config ARCH_WANT_OLD_COMPAT_IPC |
258 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION | ||
252 | bool | 259 | bool |
253 | 260 | ||
254 | config HAVE_ARCH_SECCOMP_FILTER | 261 | config HAVE_ARCH_SECCOMP_FILTER |