summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-13 12:22:52 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-11-02 18:23:33 +0100
commit9ba126cfbf505f4d5b39ed294cedd241321c7a91 (patch)
treed21601f5be93569f6815679646d773e4b8d29685 /arch
parent[MIPS] IP27: Allow SMP ;-) Another changeset messed up by patch. (diff)
downloadlinux-9ba126cfbf505f4d5b39ed294cedd241321c7a91.tar.xz
linux-9ba126cfbf505f4d5b39ed294cedd241321c7a91.zip
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/setup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index fdbb508661c5..8f6e89697ccf 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -223,7 +223,11 @@ disable:
#else /* !CONFIG_BLK_DEV_INITRD */
-#define init_initrd() 0
+static unsigned long __init init_initrd(void)
+{
+ return 0;
+}
+
#define finalize_initrd() do {} while (0)
#endif