File: perf_regs.diff

package info (click to toggle)
elfutils 0.194-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 28,848 kB
  • sloc: ansic: 115,014; sh: 35,537; cpp: 4,998; makefile: 1,986; yacc: 1,388; lex: 130; asm: 77; sed: 39; awk: 35
file content (13 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/backends/libebl_PERF_FLAGS.h
+++ b/backends/libebl_PERF_FLAGS.h
@@ -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