Re: [Xen-devel] [PATCH v2 01/18] x86/traps: factor out pv_percpu_traps_init

2017-05-12 Thread Wei Liu
On Fri, May 05, 2017 at 05:12:25PM +0100, Andrew Cooper wrote: > On 05/05/17 15:48, Wei Liu wrote: > > The body of subarch_percpu_traps_init is for setting up PV syscall > > trampoline. Move that into a dedicated function. > > > > Leave the BUILD_BUG_ON in the original function as it is not tied to

Re: [Xen-devel] [PATCH v2 01/18] x86/traps: factor out pv_percpu_traps_init

2017-05-05 Thread Andrew Cooper
On 05/05/17 15:48, Wei Liu wrote: > The body of subarch_percpu_traps_init is for setting up PV syscall > trampoline. Move that into a dedicated function. > > Leave the BUILD_BUG_ON in the original function as it is not tied to PV. > > No functional change. > > Signed-off-by: Wei Liu The trampolin

[Xen-devel] [PATCH v2 01/18] x86/traps: factor out pv_percpu_traps_init

2017-05-05 Thread Wei Liu
The body of subarch_percpu_traps_init is for setting up PV syscall trampoline. Move that into a dedicated function. Leave the BUILD_BUG_ON in the original function as it is not tied to PV. No functional change. Signed-off-by: Wei Liu --- xen/arch/x86/x86_64/traps.c | 13 + 1 file c