projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BACKPORT: arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)
[cascardo/linux.git]
/
arch
/
arm
/
include
/
asm
/
highmem.h
diff --git
a/arch/arm/include/asm/highmem.h
b/arch/arm/include/asm/highmem.h
index
8c5e828
..
91b99ab
100644
(file)
--- a/
arch/arm/include/asm/highmem.h
+++ b/
arch/arm/include/asm/highmem.h
@@
-41,6
+41,13
@@
extern void kunmap_high(struct page *page);
#endif
#endif
+/*
+ * Needed to be able to broadcast the TLB invalidation for kmap.
+ */
+#ifdef CONFIG_ARM_ERRATA_798181
+#undef ARCH_NEEDS_KMAP_HIGH_GET
+#endif
+
#ifdef ARCH_NEEDS_KMAP_HIGH_GET
extern void *kmap_high_get(struct page *page);
#else