mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 11:03:37 +00:00
Commit 801eb73f45 introduced
a bug while checking PTE flags. We have to drop the _PAGE_COHERENT flag
when __PAGE_NO_CACHE is set and the cache update policy is not write-through
(i.e. _PAGE_WRITETHRU is not set)
Signed-off-by: Denis Kirjanov <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
CC: Michael Ellerman <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>