xen/wait: Minor asm improvements
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Jul 2022 11:27:08 +0000 (12:27 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 18 Jul 2022 14:55:53 +0000 (15:55 +0100)
commit660d69cd5a3714777252d7b804f82e8b7a8a8313
tree8171c273d974ddf2a70a12141ce7f4ffc269b1fe
parentd93a8c481c596ab4f86a3e56983b136cd1a5d58d
xen/wait: Minor asm improvements

There is no point preserving all registers.  Instead, preserve an arbitrary 6
registers, and list the rest as clobbered.  This does not alter the register
scheduling at all, but does reduce the amount of state needing saving.

Use a named parameter for page size, instead of needing to parse which is
parameter 3.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/wait.c