diff options
Diffstat (limited to 'arch/um/os-Linux/start_up.c')
-rw-r--r-- | arch/um/os-Linux/start_up.c | 10 |
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 @@ #include "mode.h" #include "tempfile.h" #include "kern_constants.h" - -#ifdef UML_CONFIG_MODE_SKAS #include "skas.h" #include "skas_ptrace.h" #include "registers.h" -#endif static int ptrace_child(void *arg) { @@ -407,7 +404,6 @@ __uml_setup("noptraceldt", noptraceldt_cmd_param, " To support PTRACE_LDT, the host needs to be patched using\n" " the current skas3 patch.\n\n"); -#ifdef UML_CONFIG_MODE_SKAS static inline void check_skas3_ptrace_faultinfo(void) { struct ptrace_faultinfo fi; @@ -504,12 +500,6 @@ int can_do_skas(void) return 1; } -#else -int can_do_skas(void) -{ - return 0; -} -#endif int __init parse_iomem(char *str, int *add) { |