Skip to content
Commit 411406a8 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer
Browse files

MIPS: kvm: Use vm_get_page_prot to get protection bits



MIPS protection bits are setup during runtime so using defines like
PAGE_SHARED ignores this runtime changes. Using vm_get_page_prot
to get correct page protection fixes this.

Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 724d554a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment