summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.4.132/crisv32.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-01-29 16:31:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2020-01-29 16:31:14 +0100
commit4d0218cb27d63b4e3d06a9e740348470c8f9e182 (patch)
treea57345ed0b2862ce20d13d2ba7d7942c7fa7495f /target/linux/patches/4.4.132/crisv32.patch
parent5dc657255578daee72b2bf2fde91d9db7df041e7 (diff)
linux: update to latest 4.4.x
Diffstat (limited to 'target/linux/patches/4.4.132/crisv32.patch')
-rw-r--r--target/linux/patches/4.4.132/crisv32.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/patches/4.4.132/crisv32.patch b/target/linux/patches/4.4.132/crisv32.patch
deleted file mode 100644
index cb9b0d028..000000000
--- a/target/linux/patches/4.4.132/crisv32.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Nur linux-4.4.13.orig/arch/cris/arch-v32/mm/intmem.c linux-4.4.13/arch/cris/arch-v32/mm/intmem.c
---- linux-4.4.13.orig/arch/cris/arch-v32/mm/intmem.c 2016-06-08 03:14:51.000000000 +0200
-+++ linux-4.4.13/arch/cris/arch-v32/mm/intmem.c 2016-06-21 20:40:18.919361891 +0200
-@@ -113,14 +113,14 @@
-
- allocation->status = STATUS_FREE;
- /* Join with prev and/or next if also free */
-- if ((prev != &intmem_allocations) &&
-+ if ((&prev->entry != &intmem_allocations) &&
- (prev->status == STATUS_FREE)) {
- prev->size += allocation->size;
- list_del(&allocation->entry);
- kfree(allocation);
- allocation = prev;
- }
-- if ((next != &intmem_allocations) &&
-+ if ((&next->entry != &intmem_allocations) &&
- (next->status == STATUS_FREE)) {
- allocation->size += next->size;
- list_del(&next->entry);
-@@ -145,5 +145,11 @@
- (unsigned long)intmem_virtual + MEM_INTMEM_START +
- RESERVED_SIZE);
- }
--device_initcall(crisv32_intmem_init);
-
-+static int __init crisv32_intmem_setup(void)
-+{
-+ crisv32_intmem_init();
-+
-+ return 0;
-+}
-+device_initcall(crisv32_intmem_setup);