linux-stable/arch/arm64
Ren Zhijie 737ce5518a arm64: armv8_deprecated: fix unused-function error
commit 223d3a0d30 upstream.

If CONFIG_SWP_EMULATION is not set and
CONFIG_CP15_BARRIER_EMULATION is not set,
aarch64-linux-gnu complained about unused-function :

arch/arm64/kernel/armv8_deprecated.c:67:21: error: ‘aarch32_check_condition’ defined but not used [-Werror=unused-function]
 static unsigned int aarch32_check_condition(u32 opcode, u32 psr)
                     ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

To fix this warning, modify aarch32_check_condition() with __maybe_unused.

Fixes: 0c5f416219 ("arm64: armv8_deprecated: move aarch32 helper earlier")
Signed-off-by: Ren Zhijie <renzhijie2@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20221124022429.19024-1-renzhijie2@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:05:38 +02:00
..
boot arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size 2023-09-23 11:09:57 +02:00
configs arm64: defconfig: build imx-sdma as a module 2022-04-08 14:24:00 +02:00
crypto crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE 2022-08-17 14:23:26 +02:00
hyperv
include arm64: armv8_deprecated: rework deprected instruction handling 2023-10-19 23:05:38 +02:00
kernel arm64: armv8_deprecated: fix unused-function error 2023-10-19 23:05:38 +02:00
kvm KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg() 2023-05-01 08:23:23 +09:00
lib arm64: csum: Fix OoB access in IP checksum code for negative lengths 2023-09-19 12:22:51 +02:00
mm arm64/mm: mark private VM_FAULT_X defines as vm_fault_t 2023-06-09 10:32:25 +02:00
net bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC 2022-07-12 16:34:54 +02:00
tools arm64: errata: Add detection for TRBE write to out-of-range 2023-08-11 15:13:48 +02:00
xen
Kbuild
Kconfig arm64: errata: Add detection for TRBE write to out-of-range 2023-08-11 15:13:48 +02:00
Kconfig.debug
Kconfig.platforms irqchip/exiu: Fix acknowledgment of edge triggered interrupts 2022-06-09 10:22:54 +02:00
Makefile arm64 updates for 5.15: 2021-09-01 15:04:29 -07:00