mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
0cd478518f
Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
24 lines
423 B
Diff
24 lines
423 B
Diff
--- /dev/null
|
|
+++ b/include/linux/decompress/unlzo_mm.h
|
|
@@ -0,0 +1,10 @@
|
|
+#ifndef UNLZO_MM_H
|
|
+#define UNLZO_MM_H
|
|
+
|
|
+#ifdef STATIC
|
|
+#define INIT
|
|
+#else
|
|
+#define INIT __init
|
|
+#endif
|
|
+
|
|
+#endif
|
|
--- a/lib/decompress_unlzo.c
|
|
+++ b/lib/decompress_unlzo.c
|
|
@@ -39,6 +39,7 @@
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/lzo.h>
|
|
+#include <linux/decompress/unlzo_mm.h>
|
|
#include <linux/decompress/mm.h>
|
|
|
|
#include <linux/compiler.h>
|