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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index c6cf648a51df..b07887c36bb0 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -466,7 +466,7 @@ static inline void check_skas3_proc_mm(void)
466 else non_fatal("found\n"); 466 else non_fatal("found\n");
467} 467}
468 468
469int can_do_skas(void) 469void can_do_skas(void)
470{ 470{
471 non_fatal("Checking for the skas3 patch in the host:\n"); 471 non_fatal("Checking for the skas3 patch in the host:\n");
472 472
@@ -476,8 +476,6 @@ int can_do_skas(void)
476 476
477 if (!proc_mm || !ptrace_faultinfo || !ptrace_ldt) 477 if (!proc_mm || !ptrace_faultinfo || !ptrace_ldt)
478 skas_needs_stub = 1; 478 skas_needs_stub = 1;
479
480 return 1;
481} 479}
482 480
483int __init parse_iomem(char *str, int *add) 481int __init parse_iomem(char *str, int *add)