aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/start_up.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/start_up.c')
-rw-r--r--arch/um/os-Linux/start_up.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index f4f2981f74b9..acf52ea4ff52 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -35,12 +35,9 @@
35#include "mode.h" 35#include "mode.h"
36#include "tempfile.h" 36#include "tempfile.h"
37#include "kern_constants.h" 37#include "kern_constants.h"
38
39#ifdef UML_CONFIG_MODE_SKAS
40#include "skas.h" 38#include "skas.h"
41#include "skas_ptrace.h" 39#include "skas_ptrace.h"
42#include "registers.h" 40#include "registers.h"
43#endif
44 41
45static int ptrace_child(void *arg) 42static int ptrace_child(void *arg)
46{ 43{
@@ -407,7 +404,6 @@ __uml_setup("noptraceldt", noptraceldt_cmd_param,
407" To support PTRACE_LDT, the host needs to be patched using\n" 404" To support PTRACE_LDT, the host needs to be patched using\n"
408" the current skas3 patch.\n\n"); 405" the current skas3 patch.\n\n");
409 406
410#ifdef UML_CONFIG_MODE_SKAS
411static inline void check_skas3_ptrace_faultinfo(void) 407static inline void check_skas3_ptrace_faultinfo(void)
412{ 408{
413 struct ptrace_faultinfo fi; 409 struct ptrace_faultinfo fi;
@@ -504,12 +500,6 @@ int can_do_skas(void)
504 500
505 return 1; 501 return 1;
506} 502}
507#else
508int can_do_skas(void)
509{
510 return 0;
511}
512#endif
513 503
514int __init parse_iomem(char *str, int *add) 504int __init parse_iomem(char *str, int *add)
515{ 505{