summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-10-22 17:16:35 +0300
committerWill Deacon <will@kernel.org>2021-10-26 12:15:46 +0300
commit04ee53a55543ddc16398391ac95e97e5c9436ba3 (patch)
treed0fbdfa90a751e8fe03bbf783a6de5a0040bfc40 /lib/debugobjects.c
parent49ed920408f85fb143020cf7d95612b6b12a84a2 (diff)
downloadlinux-04ee53a55543ddc16398391ac95e97e5c9436ba3.tar.xz
arm64/sve: Fix warnings when SVE is disabled
In configurations where SVE is disabled we define but never reference the functions for retrieving the default vector length, causing warnings. Fix this by move the ifdef up, marking get_default_vl() inline since it is referenced from code guarded by an IS_ENABLED() check, and do the same for the other accessors for consistency. Reported-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20211022141635.2360415-3-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions