Skip to content

Commit 176517c

Browse files
edliawakpm00
authored andcommitted
selftests/mm: include strings.h for ffsl
Got a compilation error on Android for ffsl after 91b80cc ("selftests: mm: fix map_hugetlb failure on 64K page size systems") included vm_util.h. Link: https://lkml.kernel.org/r/[email protected] Fixes: af605d2 ("selftests/mm: merge util.h into vm_util.h") Signed-off-by: Edward Liaw <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Cc: Axel Rasmussen <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: "Mike Rapoport (IBM)" <[email protected]> Cc: Peter Xu <[email protected]> Cc: Shuah Khan <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent fc2c226 commit 176517c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/mm/vm_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <stdbool.h>
44
#include <sys/mman.h>
55
#include <err.h>
6-
#include <string.h> /* ffsl() */
6+
#include <strings.h> /* ffsl() */
77
#include <unistd.h> /* _SC_PAGESIZE */
88

99
#define BIT_ULL(nr) (1ULL << (nr))

0 commit comments

Comments
 (0)