aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch')
-rw-r--r--target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch b/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch
new file mode 100644
index 0000000000..cd8731d5cf
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.19/950-0123-hack-cache-Fix-linker-error.patch
@@ -0,0 +1,27 @@
+From 708821a5d04805bf61b036e869663d8650ca578c Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Tue, 20 Feb 2018 20:53:46 +0000
+Subject: [PATCH 123/703] hack: cache: Fix linker error
+
+---
+ arch/arm/mm/cache-v7.S | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/arch/arm/mm/cache-v7.S
++++ b/arch/arm/mm/cache-v7.S
+@@ -350,6 +350,7 @@ ENDPROC(v7_flush_kern_dcache_area)
+ * - start - virtual start address of region
+ * - end - virtual end address of region
+ */
++ENTRY(b15_dma_inv_range)
+ ENTRY(v7_dma_inv_range)
+ dcache_line_size r2, r3
+ sub r3, r2, #1
+@@ -380,6 +381,7 @@ ENDPROC(v7_dma_inv_range)
+ * - start - virtual start address of region
+ * - end - virtual end address of region
+ */
++ENTRY(b15_dma_clean_range)
+ ENTRY(v7_dma_clean_range)
+ dcache_line_size r2, r3
+ sub r3, r2, #1