public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] hugemmap34: Use lapi/mmap.h to fix build on old distros
@ 2024-11-01 16:40 Petr Vorel
  2024-11-01 16:51 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2024-11-01 16:40 UTC (permalink / raw)
  To: ltp; +Cc: Samir Mulani

Required on very old distros we still support:
* Ubuntu Bionic
* openSUSE Leap 42.2

Fixes: 21fdea4799 ("Migrating the libhugetlbfs/testcases/stack_grow_into_huge.c test")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Trivial patch I'll merge tonight after CI finishes:
https://github.com/pevik/ltp/actions/runs/11632875155

 testcases/kernel/mem/hugetlb/hugemmap/hugemmap34.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap34.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap34.c
index 3f04376b65..a7a88fbb2d 100644
--- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap34.c
+++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap34.c
@@ -20,6 +20,7 @@
  * huge page-only segment -- resulting in bugs.
  */
 
+#include "lapi/mmap.h"
 #include "hugetlb.h"
 #include <errno.h>
 
-- 
2.45.2


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-01 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01 16:40 [LTP] [PATCH 1/1] hugemmap34: Use lapi/mmap.h to fix build on old distros Petr Vorel
2024-11-01 16:51 ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox