Re: [Xen-devel] [PATCH v2 2/3] mini-os: cleanup x86_64.S

2016-08-29 Thread Samuel Thibault
Wei Liu, on Mon 29 Aug 2016 09:51:52 +0100, wrote: > On Mon, Aug 29, 2016 at 08:17:21AM +0200, Juergen Gross wrote: > > arch/x86/x86_64.S contains some unnecessary macros. Remove them. > > > > Add a SAVE_PARAVIRT macro for saving %rcx and %r11 on the stack in > > case of CONFIG_PARAVIRT defined.

Re: [Xen-devel] [PATCH v2 2/3] mini-os: cleanup x86_64.S

2016-08-29 Thread Wei Liu
On Mon, Aug 29, 2016 at 08:17:21AM +0200, Juergen Gross wrote: > arch/x86/x86_64.S contains some unnecessary macros. Remove them. > > Add a SAVE_PARAVIRT macro for saving %rcx and %r11 on the stack in > case of CONFIG_PARAVIRT defined. > > Remove the parameter from HYPERVISOR_IRET macro as it is

[Xen-devel] [PATCH v2 2/3] mini-os: cleanup x86_64.S

2016-08-29 Thread Juergen Gross
arch/x86/x86_64.S contains some unnecessary macros. Remove them. Add a SAVE_PARAVIRT macro for saving %rcx and %r11 on the stack in case of CONFIG_PARAVIRT defined. Remove the parameter from HYPERVISOR_IRET macro as it is used with 0 only. Signed-off-by: Juergen Gross --- V2: