perf_regs
authorDebian Elfutils Maintainers <debian-gcc@lists.debian.org>
Wed, 29 Oct 2025 05:57:58 +0000 (06:57 +0100)
committerMatthias Klose <doko@debian.org>
Wed, 29 Oct 2025 05:57:58 +0000 (06:57 +0100)
Gbp-Pq: Name perf_regs.diff

backends/libebl_PERF_FLAGS.h

index 51c20ea682f0bc10e8ac8251731cb0a860b991b1..403c876aeb20e144c1a407bacc5d4d6331537517 100644 (file)
@@ -32,9 +32,8 @@
 #define _LIBEBL_PERF_FLAGS_H 1
 
 #if defined(__linux__)
+#if defined(__linux__)  && !defined(__alpha__) && !defined(__hppa__) && !defined(__m68k__)  && !defined(__sh__)  && !defined(__sparc__)
 /* XXX Need to exclude __linux__ arches without perf_regs.h. */
-#if defined(__x86_64__) || defined(__i386__)
-/* || defined(other_architecture)... */
 # include <asm/perf_regs.h>
 #endif
 #endif