|
@@ -9,14 +9,6 @@
|
|
|
#include <linux/perf_event.h>
|
|
|
#include <asm/barrier.h>
|
|
|
|
|
|
-#if defined(__i386__)
|
|
|
-#define CPUINFO_PROC {"model name"}
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined(__x86_64__)
|
|
|
-#define CPUINFO_PROC {"model name"}
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef __powerpc__
|
|
|
#define CPUINFO_PROC {"cpu"}
|
|
|
#endif
|
|
@@ -41,17 +33,10 @@
|
|
|
#define CPUINFO_PROC {"cpu model"}
|
|
|
#endif
|
|
|
|
|
|
-#ifdef __ia64__
|
|
|
-#define CPUINFO_PROC {"model name"}
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef __arm__
|
|
|
#define CPUINFO_PROC {"model name", "Processor"}
|
|
|
#endif
|
|
|
|
|
|
-#ifdef __aarch64__
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef __mips__
|
|
|
#define CPUINFO_PROC {"cpu model"}
|
|
|
#endif
|
|
@@ -68,8 +53,8 @@
|
|
|
#define CPUINFO_PROC {"core ID"}
|
|
|
#endif
|
|
|
|
|
|
-#ifdef __tile__
|
|
|
-#define CPUINFO_PROC {"model name"}
|
|
|
+#ifndef CPUINFO_PROC
|
|
|
+#define CPUINFO_PROC { "model name", }
|
|
|
#endif
|
|
|
|
|
|
static inline int
|