cris-initrd.patch 513 B

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