960-decompress_unlzo_fix.patch 423 B

1234567891011121314151617181920212223
  1. --- /dev/null
  2. +++ b/include/linux/decompress/unlzo_mm.h
  3. @@ -0,0 +1,10 @@
  4. +#ifndef UNLZO_MM_H
  5. +#define UNLZO_MM_H
  6. +
  7. +#ifdef STATIC
  8. +#define INIT
  9. +#else
  10. +#define INIT __init
  11. +#endif
  12. +
  13. +#endif
  14. --- a/lib/decompress_unlzo.c
  15. +++ b/lib/decompress_unlzo.c
  16. @@ -39,6 +39,7 @@
  17. #include <linux/types.h>
  18. #include <linux/lzo.h>
  19. +#include <linux/decompress/unlzo_mm.h>
  20. #include <linux/decompress/mm.h>
  21. #include <linux/compiler.h>