| 1 | Descriptionscip-debian debian procps 2:4.0.7-1 procps/patches/no-hugetlb#Description.: |
| 2 | MAP_HUGETLB is Linux specific. Ignore when not available. |
| 3 | Authorscip-debian debian procps 2:4.0.7-1 procps/patches/no-hugetlb#Author.: Mattias Ellert <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 4 | |
| 5 | diff -ur procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.cscip-debian debian procps 2:4.0.7-1 procps/upstream/`procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.c`: procps-4.0.6/testsuite/ps.test/test-hugetlb.cscip-debian debian procps 2:4.0.7-1 procps/upstream/`procps-4.0.6/testsuite/ps.test/test-hugetlb.c`: |
| 6 | --- procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.c 2026-01-29 10:48:26.000000000 +0100 |
| 7 | +++ procps-4.0.6/testsuite/ps.test/test-hugetlb.c 2026-05-30 05:15:34.000000000 +0200 |
| 8 | @@ -35,6 +35,10 @@ |
| 9 | #include <string.h> |
| 10 | #include <sys/mman.h> |
| 11 | |
| 12 | +#ifndef MAP_HUGETLB |
| 13 | +#define MAP_HUGETLB 0 |
| 14 | +#endif |
| 15 | + |
| 16 | #define LENGTH (2*1024*1024) |
| 17 | |
| 18 | void usage(const char *progname, const char *msg) |