summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.31.4/cris-initrd.patch
blob: 47c034415f5bcf6958455beada6c11aeaf61f3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Nur linux-2.6.31.4.orig/arch/cris/mm/init.c linux-2.6.31.4/arch/cris/mm/init.c
--- linux-2.6.31.4.orig/arch/cris/mm/init.c	2009-10-12 22:15:40.000000000 +0200
+++ linux-2.6.31.4/arch/cris/mm/init.c	2009-10-25 12:59:24.418546156 +0100
@@ -80,3 +80,10 @@
         printk (KERN_INFO "Freeing unused kernel memory: %luk freed\n",
 		(unsigned long)((&__init_end - &__init_begin) >> 10));
 }
+
+#ifdef CONFIG_BLK_DEV_INITRD
+void free_initrd_mem(unsigned long start, unsigned long end)
+{
+	return 0;
+}
+#endif