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, 2 insertions, 2 deletions
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index 3380a13986ef..79471f85eb89 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -329,7 +329,7 @@ static void __init check_ptrace(void)
329 329
330extern void check_tmpexec(void); 330extern void check_tmpexec(void);
331 331
332static void check_coredump_limit(void) 332static void __init check_coredump_limit(void)
333{ 333{
334 struct rlimit lim; 334 struct rlimit lim;
335 int err = getrlimit(RLIMIT_CORE, &lim); 335 int err = getrlimit(RLIMIT_CORE, &lim);
@@ -350,7 +350,7 @@ static void check_coredump_limit(void)
350 else printf("%lu\n", lim.rlim_max); 350 else printf("%lu\n", lim.rlim_max);
351} 351}
352 352
353void os_early_checks(void) 353void __init os_early_checks(void)
354{ 354{
355 /* Print out the core dump limits early */ 355 /* Print out the core dump limits early */
356 check_coredump_limit(); 356 check_coredump_limit();