arm64: don't trash config with compat symbol if COMPAT is disabled
authorYury Norov <ynorov@marvell.com>
Tue, 7 May 2019 20:52:28 +0000 (13:52 -0700)
committerWill Deacon <will.deacon@arm.com>
Tue, 14 May 2019 10:46:12 +0000 (11:46 +0100)
commit84c187afa210fcd5e34a7506c6e0dc2d69bc6641
tree61ac6ba284a3aa2ec39054f25cd4e1568c482bb5
parent0e4add4ae79e4466ae2a7e7772dfbe39fb28787a
arm64: don't trash config with compat symbol if COMPAT is disabled

ARCH_WANT_COMPAT_IPC_PARSE_VERSION is selected unconditionally. It
makes little sense if kernel is compiled without COMPAT support.
Fix it.

This patch makes no functional changes since all existing code which
is guarded with ARCH_WANT_COMPAT_IPC_PARSE_VERSION is also guarded
with COMPAT.

Signed-off-by: Yury Norov <ynorov@marvell.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig