summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.7/900-slab_maxsize.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-20 07:37:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-20 07:37:27 +0000
commita9de3a851a83d43f487f9ced2cf0326047aabc5a (patch)
tree28e438eefb45df17a28d3d862e9d53c1afcc0a16 /target/linux/generic/patches-3.7/900-slab_maxsize.patch
parentc8933c968f6f885fe987fe17babdd833a81124a1 (diff)
downloadmtk-20170518-a9de3a851a83d43f487f9ced2cf0326047aabc5a.zip
mtk-20170518-a9de3a851a83d43f487f9ced2cf0326047aabc5a.tar.gz
mtk-20170518-a9de3a851a83d43f487f9ced2cf0326047aabc5a.tar.bz2
linux: remove 3.7 support
It is not used by any target. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37469
Diffstat (limited to 'target/linux/generic/patches-3.7/900-slab_maxsize.patch')
-rw-r--r--target/linux/generic/patches-3.7/900-slab_maxsize.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/generic/patches-3.7/900-slab_maxsize.patch b/target/linux/generic/patches-3.7/900-slab_maxsize.patch
deleted file mode 100644
index b77b9f0..0000000
--- a/target/linux/generic/patches-3.7/900-slab_maxsize.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/include/linux/slab.h
-+++ b/include/linux/slab.h
-@@ -151,8 +151,8 @@ unsigned int kmem_cache_size(struct kmem
- * to do various tricks to work around compiler limitations in order to
- * ensure proper constant folding.
- */
--#define KMALLOC_SHIFT_HIGH ((MAX_ORDER + PAGE_SHIFT - 1) <= 25 ? \
-- (MAX_ORDER + PAGE_SHIFT - 1) : 25)
-+#define KMALLOC_SHIFT_HIGH ((MAX_ORDER + PAGE_SHIFT - 1) <= 17 ? \
-+ (MAX_ORDER + PAGE_SHIFT - 1) : 17)
-
- #define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_HIGH)
- #define KMALLOC_MAX_ORDER (KMALLOC_SHIFT_HIGH - PAGE_SHIFT)