aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/start_up.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 17:51:11 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:13:01 -0400
commit36e454630473caa178bcbc4982ed6a68cf002e95 (patch)
treea80208c4d995d49025e7654447ea35476ed01e40 /arch/um/os-Linux/start_up.c
parent9218b1714949095bff9d9739d80f431d58e561d6 (diff)
uml: add missing __init declarations
The build started finding calls from non-init to init functions. These are just cases of init functions not being properly marked, so this patch fixes that. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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();