Skip to contentSkip to conversation

tools/testing/selftests/x86/unwind_vdso.c: Remove duplicate header

PATCH In review Sabyasachi Gupta 2 participants 2 messages Jan 14, 2019 – Jan 15, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/testing/selftests/x86/unwind_vdso.c: Remove duplicate header

Remove sys/ucontext.h which is included more than once.

Signed-off-by Sabyasachi Gupta <sabyasachi.linux at gmail.com>
---
 tools/testing/selftests/x86/unwind_vdso.c | 1 -
 1 file changed, 1 deletion(-)
tools/testing/selftests/x86/unwind_vdso.c +0 -1
index 00a26a8..9731133 100644
@@ -44,7 +44,6 @@ int main()
 #include <stdbool.h>
 #include <sys/ptrace.h>
 #include <sys/user.h>
-#include <sys/ucontext.h>
 #include <link.h>
 #include <sys/auxv.h>
 #include <dlfcn.h>
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 13 lines · Sabyasachi Gupta

Remove sys/ucontext.h which is included more than once.

Signed-off-by Sabyasachi Gupta <sabyasachi.linux at gmail.com>
---
  tools/testing/selftests/x86/unwind_vdso.c | 1 -
  1 file changed, 1 deletion(-)
tools/testing/selftests/x86/unwind_vdso.c +0 -0
index 00a26a8..9731133 100644

tools/testing/selftests/x86/unwind_vdso.c int main() · line 49

Quoted 7 lines
tools/testing/selftests/x86/unwind_vdso.c +0 -1
@@ -44,7 +44,6 @@ int main()
  #include <stdbool.h>
  #include <sys/ptrace.h>
  #include <sys/user.h>
-#include <sys/ucontext.h>
  #include <link.h>
  #include <sys/auxv.h>
  #include <dlfcn.h>

Thanks for the patch. I will pull this in for 5.1-rc1

thanks,
-- Shuah