aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2020-12-14 15:30:54 -0800
committerStephen Rothwell <sfr@canb.auug.org.au>2020-12-16 18:03:07 +1100
commite336550f6bf3a539a1536dca36cadcc130d16644 (patch)
tree8b8f3f108a4b3e6975c218cbb762ff1df0563a35
parent55278e9f982d66bc1ea9e437fd4ec22690b5c83d (diff)
downloadlinux-e336550f6bf3a539a1536dca36cadcc130d16644.tar.gz
secretmem-test-add-basic-selftest-for-memfd_secret2-fix
fix build Link: https://lkml.kernel.org/r/248f928b-1383-48ea-8584-ec10146e60c9@nvidia.com Cc: Mike Rapoport <rppt@linux.ibm.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--tools/testing/selftests/vm/memfd_secret.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/vm/memfd_secret.c b/tools/testing/selftests/vm/memfd_secret.c
index 79578dfd13e6..c878c2b841fc 100644
--- a/tools/testing/selftests/vm/memfd_secret.c
+++ b/tools/testing/selftests/vm/memfd_secret.c
@@ -29,8 +29,6 @@
#ifdef __NR_memfd_secret
-#include <linux/secretmem.h>
-
#define PATTERN 0x55
static const int prot = PROT_READ | PROT_WRITE;