From 9b9f9e2faab6b556d72c1d2f67f23403bfec2576 Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Mon, 8 Jul 2024 21:49:37 +0200 Subject: [PATCH] Disable is_aarch64_mode() for now Function is not used. --- libcpuid/recog_arm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcpuid/recog_arm.c b/libcpuid/recog_arm.c index 5165654..2477d44 100644 --- a/libcpuid/recog_arm.c +++ b/libcpuid/recog_arm.c @@ -404,10 +404,11 @@ static inline bool is_aarch32_mode(struct cpu_raw_data_t* raw) return (raw->arm_id_afr[0] != 0) || (raw->arm_id_dfr[0] != 0) || (raw->arm_id_isar[0] != 0) || (raw->arm_id_mmfr[0] != 0) || (raw->arm_id_pfr[0] != 0); } +/* Unused static inline bool is_aarch64_mode(struct cpu_raw_data_t* raw) { return (raw->arm_id_aa64afr[0] != 0) || (raw->arm_id_aa64dfr[0] != 0) || (raw->arm_id_aa64isar[0] != 0) || (raw->arm_id_aa64mmfr[0] != 0) || (raw->arm_id_aa64pfr[0] != 0); -} +} */ static bool decode_arm_architecture_version_by_midr(struct cpu_raw_data_t* raw, struct cpu_id_t* data) {