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 /ipc/util.c | |
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 'ipc/util.c')
-rw-r--r-- | ipc/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/util.c b/ipc/util.c index 75261a31d48d..eb07fd356f27 100644 --- a/ipc/util.c +++ b/ipc/util.c | |||
@@ -804,7 +804,7 @@ out_up: | |||
804 | return ERR_PTR(err); | 804 | return ERR_PTR(err); |
805 | } | 805 | } |
806 | 806 | ||
807 | #ifdef __ARCH_WANT_IPC_PARSE_VERSION | 807 | #ifdef CONFIG_ARCH_WANT_IPC_PARSE_VERSION |
808 | 808 | ||
809 | 809 | ||
810 | /** | 810 | /** |
@@ -826,7 +826,7 @@ int ipc_parse_version (int *cmd) | |||
826 | } | 826 | } |
827 | } | 827 | } |
828 | 828 | ||
829 | #endif /* __ARCH_WANT_IPC_PARSE_VERSION */ | 829 | #endif /* CONFIG_ARCH_WANT_IPC_PARSE_VERSION */ |
830 | 830 | ||
831 | #ifdef CONFIG_PROC_FS | 831 | #ifdef CONFIG_PROC_FS |
832 | struct ipc_proc_iter { | 832 | struct ipc_proc_iter { |