From: Wilco Dijkstra Date: Thu, 12 Mar 2026 14:10:11 +0000 (+0000) Subject: AArch64: Remove unused MIDR entries X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49ed3efdd38e7744d458ea2b1965587d7635a449;p=thirdparty%2Fglibc.git AArch64: Remove unused MIDR entries Remove the now unused eMAG MIDR check and unused entries from cpu_list[]. Reviewed-by: Adhemerval Zanella  --- diff --git a/sysdeps/aarch64/cpu-features.h b/sysdeps/aarch64/cpu-features.h index a6ec3eebe9..d6367a4596 100644 --- a/sysdeps/aarch64/cpu-features.h +++ b/sysdeps/aarch64/cpu-features.h @@ -40,9 +40,6 @@ #define MIDR_IMPLEMENTOR(midr) \ (((midr) & MIDR_IMPLEMENTOR_MASK) >> MIDR_IMPLEMENTOR_SHIFT) -#define IS_EMAG(midr) (MIDR_IMPLEMENTOR(midr) == 'P' \ - && MIDR_PARTNUM(midr) == 0x000) - #define IS_KUNPENG920(midr) (MIDR_IMPLEMENTOR(midr) == 'H' \ && MIDR_PARTNUM(midr) == 0xd01) diff --git a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c index 1e4f8a86b1..36bd72bb12 100644 --- a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c +++ b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c @@ -44,11 +44,6 @@ struct cpu_list static const struct cpu_list cpu_list[] = { #define CPU_LIST_ENTRY(__str, __num) { __str, sizeof (__str) - 1, __num } - CPU_LIST_ENTRY ("thunderxt88", 0x430F0A10), - CPU_LIST_ENTRY ("thunderx2t99", 0x431F0AF0), - CPU_LIST_ENTRY ("thunderx2t99p1", 0x420F5160), - CPU_LIST_ENTRY ("ares", 0x411FD0C0), - CPU_LIST_ENTRY ("emag", 0x503F0001), CPU_LIST_ENTRY ("kunpeng920", 0x481FD010), CPU_LIST_ENTRY ("kunpeng950", 0x480FD060), CPU_LIST_ENTRY ("a64fx", 0x460F0010),