x86/shadow: drop shadow_prepare_page_type_change()'s 3rd parameter
authorJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 10:58:16 +0000 (12:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 10:58:16 +0000 (12:58 +0200)
commitcdfe7b050761853319bdb4c6d1e405687c9978ef
tree91d63b195e9ef8f2cabdcf93ca10dffad693ba53
parent13316827faadbb4f72ae6c625af9938d8f976f86
x86/shadow: drop shadow_prepare_page_type_change()'s 3rd parameter

As of 8cc5036bc385 ("x86/pv: Fix ABAC cmpxchg() race in
_get_page_type()") this no longer needs passing separately - the type
can now be read from struct page_info, as the call now happens after its
writing.

While there also constify the 2nd parameter.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/include/asm/shadow.h
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/common.c