linux_dsm_epyc7002/arch/arm64
Arnd Bergmann 3d6d103538 arm64: mark cpus_have_hwcap as __maybe_unused
cpus_have_hwcap() is defined as a 'static' function an only used in
one place that is inside of an #ifdef, so we get a warning when
the only user is disabled:

arch/arm64/kernel/cpufeature.c:699:13: warning: 'cpus_have_hwcap' defined but not used [-Wunused-function]

This marks the function as __maybe_unused, so the compiler knows that
it can drop the function definition without warning about it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 37b01d53ce ("arm64/HWCAP: Use system wide safe values")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2015-11-12 15:18:01 +00:00
..
boot arm64: dts: juno: describe PMUs separately 2015-10-07 14:25:41 +01:00
configs arm64: Enable CRYPTO_CRC32_ARM64 in defconfig 2015-11-06 16:50:43 +00:00
crypto crypto: aead - Remove CRYPTO_ALG_AEAD_NEW flag 2015-08-17 16:53:53 +08:00
include arm64: fix R/O permissions of FDT mapping 2015-11-09 14:26:36 +00:00
kernel arm64: mark cpus_have_hwcap as __maybe_unused 2015-11-12 15:18:01 +00:00
kvm arm64/kvm: Make use of the system wide safe values 2015-10-21 15:35:59 +01:00
lib arm64: add KASAN support 2015-10-12 17:46:36 +01:00
mm arm64: fix R/O permissions of FDT mapping 2015-11-09 14:26:36 +00:00
net arm64: bpf: fix mod-by-zero case 2015-11-06 16:58:48 +00:00
xen arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
Kconfig arm64: remove redundant FRAME_POINTER kconfig option and force to select it 2015-11-10 10:36:00 +00:00
Kconfig.debug arm64: remove redundant FRAME_POINTER kconfig option and force to select it 2015-11-10 10:36:00 +00:00
Kconfig.platforms arm64: Enable Marvell Berlin SoC family in Kconfig 2015-08-06 10:15:01 +02:00
Makefile arm64: add KASAN support 2015-10-12 17:46:36 +01:00