diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-27 17:19:33 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-27 17:19:33 +0200 |
commit | 9a841e2aed7b7e52958e5703215643dd3cf45ad0 (patch) | |
tree | 58b5a13611e2450d6f88eae256b43e3d6cbd5356 /target/linux/patches/2.6.33.3/cris-initrd.patch | |
parent | c12b595892e3231182239998f6561bd6556a9947 (diff) | |
parent | 23eff1d5d3d4f22fc3d2fe9de026e3df3edf426d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.33.3/cris-initrd.patch')
-rw-r--r-- | target/linux/patches/2.6.33.3/cris-initrd.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.33.3/cris-initrd.patch b/target/linux/patches/2.6.33.3/cris-initrd.patch new file mode 100644 index 000000000..47c034415 --- /dev/null +++ b/target/linux/patches/2.6.33.3/cris-initrd.patch @@ -0,0 +1,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 |