hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/tools/perf/bench/bench.h
....@@ -10,25 +10,13 @@
1010 * The madvise transparent hugepage constants were added in glibc
1111 * 2.13. For compatibility with older versions of glibc, define these
1212 * tokens if they are not already defined.
13
- *
14
- * PA-RISC uses different madvise values from other architectures and
15
- * needs to be special-cased.
1613 */
17
-#ifdef __hppa__
18
-# ifndef MADV_HUGEPAGE
19
-# define MADV_HUGEPAGE 67
20
-# endif
21
-# ifndef MADV_NOHUGEPAGE
22
-# define MADV_NOHUGEPAGE 68
23
-# endif
24
-#else
2514 # ifndef MADV_HUGEPAGE
2615 # define MADV_HUGEPAGE 14
2716 # endif
2817 # ifndef MADV_NOHUGEPAGE
2918 # define MADV_NOHUGEPAGE 15
3019 # endif
31
-#endif
3220
3321 int bench_numa(int argc, const char **argv);
3422 int bench_sched_messaging(int argc, const char **argv);