Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1202688 > unrolled thread
| Started by | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| First post | 2015-08-07 15:50 +0200 |
| Last post | 2015-08-07 15:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 2/4] selftests: vm: Ensure the mlock2 syscall number can be found Thierry Reding <thierry.reding@gmail.com> - 2015-08-07 15:50 +0200
| From | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| Date | 2015-08-07 15:50 +0200 |
| Subject | [PATCH 2/4] selftests: vm: Ensure the mlock2 syscall number can be found |
| Message-ID | <pUQc1-152-3@gated-at.bofh.it> |
From: Thierry Reding <treding@nvidia.com> Include the syscall.h header to ensure that the mlock2 syscall number is available. Otherwise the test program will always return ENOSYS from the mlock2() implementation. Signed-off-by: Thierry Reding <treding@nvidia.com> --- tools/testing/selftests/vm/mlock2-tests.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vm/mlock2-tests.c b/tools/testing/selftests/vm/mlock2-tests.c index 11c38e96f336..2949fd949973 100644 --- a/tools/testing/selftests/vm/mlock2-tests.c +++ b/tools/testing/selftests/vm/mlock2-tests.c @@ -6,6 +6,7 @@ #include <string.h> #include <sys/time.h> #include <sys/resource.h> +#include <syscall.h> #include <errno.h> #include <stdbool.h> -- 2.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web