projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
[linux-2.6-microblaze.git]
/
arch
/
arm64
/
kernel
/
mte.c
diff --git
a/arch/arm64/kernel/mte.c
b/arch/arm64/kernel/mte.c
index
bf526bd
..
57b30bc
100644
(file)
--- a/
arch/arm64/kernel/mte.c
+++ b/
arch/arm64/kernel/mte.c
@@
-77,6
+77,9
@@
void mte_sync_tags(pte_t old_pte, pte_t pte)
mte_sync_page_tags(page, old_pte, check_swap,
pte_is_tagged);
}
+
+ /* ensure the tags are visible before the PTE is set */
+ smp_wmb();
}
int memcmp_pages(struct page *page1, struct page *page2)