On 03.07.19 12:27, root wrote:
The one paravirt read_cr2() implementation (Xen) is actually quite trivial and doesn't need to clobber anything other than the return register. By making read_cr2() CALLEE_SAVE we avoid all the PUSH/POP nonsense and allow more convenient use from assembly.Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Reviewed-by: Juergen Gross <jgr...@suse.com> Juergen