diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-10-31 17:50:39 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-10-31 17:50:39 +0100 |
commit | 1dcee6fbc23e59cd5a2111e74ae4915d56576174 (patch) | |
tree | 3a30a2543c2fe7270662f085545bf3efddc86be6 /target/linux/patches | |
parent | 16011e402a22d0830aefdb23cb77f886199c265b (diff) |
finetune qemu-cris, add qemu-x86_64
Diffstat (limited to 'target/linux/patches')
-rw-r--r-- | target/linux/patches/2.6.31.4/cris-initrd.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.31.4/cris-initrd.patch b/target/linux/patches/2.6.31.4/cris-initrd.patch new file mode 100644 index 000000000..47c034415 --- /dev/null +++ b/target/linux/patches/2.6.31.4/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 |