summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.32.65/cris-initramfs.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-23 01:43:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-23 01:43:54 +0200
commit8353af86c2b5c72d5a59dd4b93971a0b608c1be1 (patch)
tree59dd74c0820a0be603042e1f7df906f3de910354 /target/linux/patches/2.6.32.65/cris-initramfs.patch
parent026196652bb5087a9cace5e391e5dc62f38cefdb (diff)
add some cris patches
Diffstat (limited to 'target/linux/patches/2.6.32.65/cris-initramfs.patch')
-rw-r--r--target/linux/patches/2.6.32.65/cris-initramfs.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.32.65/cris-initramfs.patch b/target/linux/patches/2.6.32.65/cris-initramfs.patch
new file mode 100644
index 000000000..b709e705e
--- /dev/null
+++ b/target/linux/patches/2.6.32.65/cris-initramfs.patch
@@ -0,0 +1,22 @@
+diff -Nur linux-3.18.12.orig/arch/cris/arch-v10/mm/init.c linux-3.18.12/arch/cris/arch-v10/mm/init.c
+--- linux-3.18.12.orig/arch/cris/arch-v10/mm/init.c 2015-04-20 21:48:02.000000000 +0200
++++ linux-3.18.12/arch/cris/arch-v10/mm/init.c 2015-05-16 01:46:37.000000000 +0200
+@@ -261,3 +261,7 @@
+ {
+ flush_etrax_cacherange(0, 8192);
+ }
++
++void free_initrd_mem(unsigned long start, unsigned long end)
++{
++}
+diff -Nur linux-3.18.12.orig/arch/cris/arch-v32/mm/init.c linux-3.18.12/arch/cris/arch-v32/mm/init.c
+--- linux-3.18.12.orig/arch/cris/arch-v32/mm/init.c 2015-04-20 21:48:02.000000000 +0200
++++ linux-3.18.12/arch/cris/arch-v32/mm/init.c 2015-05-16 01:46:54.000000000 +0200
+@@ -171,3 +171,7 @@
+
+ mem_map = contig_page_data.node_mem_map;
+ }
++
++void free_initrd_mem(unsigned long start, unsigned long end)
++{
++}