diff options
author | Will Deacon <will@kernel.org> | 2020-06-16 20:29:11 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-06-16 20:29:11 +0300 |
commit | e575fb9e76c8e33440fb859572a8b7d430f053d6 (patch) | |
tree | b856d4ada1faa86a460d946e8b1aed90d9c382d4 /include/linux/overflow.h | |
parent | 034aa9cd698e315c767af1bac3fd1ff8898d2cd7 (diff) | |
download | linux-e575fb9e76c8e33440fb859572a8b7d430f053d6.tar.xz |
arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n
When I squashed the 'allnoconfig' compiler warning about the
set_sve_default_vl() function being defined but not used in commit
1e570f512cbd ("arm64/sve: Eliminate data races on sve_default_vl"), I
accidentally broke the build for configs where ARM64_SVE is enabled, but
SYSCTL is not.
Fix this by only compiling the SVE sysctl support if both CONFIG_SVE=y
and CONFIG_SYSCTL=y.
Cc: Dave Martin <Dave.Martin@arm.com>
Reported-by: Qian Cai <cai@lca.pw>
Link: https://lore.kernel.org/r/20200616131808.GA1040@lca.pw
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions