projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests/mlock2: add ULL suffix to 64-bit constants
[cascardo/linux.git]
/
tools
/
testing
/
selftests
/
vm
/
mlock2-tests.c
diff --git
a/tools/testing/selftests/vm/mlock2-tests.c
b/tools/testing/selftests/vm/mlock2-tests.c
index
cb24721
..
02ca5e0
100644
(file)
--- a/
tools/testing/selftests/vm/mlock2-tests.c
+++ b/
tools/testing/selftests/vm/mlock2-tests.c
@@
-277,8
+277,8
@@
out:
return ret;
}
-#define PRESENT_BIT 0x8000000000000000
-#define PFN_MASK 0x007FFFFFFFFFFFFF
+#define PRESENT_BIT 0x8000000000000000
ULL
+#define PFN_MASK 0x007FFFFFFFFFFFFF
ULL
#define UNEVICTABLE_BIT (1UL << 18)
static int lock_check(char *map)