summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/start_up.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 14:51:11 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 12:13:01 -0700
commit36e454630473caa178bcbc4982ed6a68cf002e95 (patch)
treea80208c4d995d49025e7654447ea35476ed01e40 /arch/um/os-Linux/start_up.c
parent9218b1714949095bff9d9739d80f431d58e561d6 (diff)
downloadblackbird-op-linux-36e454630473caa178bcbc4982ed6a68cf002e95.tar.gz
blackbird-op-linux-36e454630473caa178bcbc4982ed6a68cf002e95.zip
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)
extern void check_tmpexec(void);
-static void check_coredump_limit(void)
+static void __init check_coredump_limit(void)
{
struct rlimit lim;
int err = getrlimit(RLIMIT_CORE, &lim);
@@ -350,7 +350,7 @@ static void check_coredump_limit(void)
else printf("%lu\n", lim.rlim_max);
}
-void os_early_checks(void)
+void __init os_early_checks(void)
{
/* Print out the core dump limits early */
check_coredump_limit();
OpenPOWER on IntegriCloud