[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86/pv: Drop unused switch_kernel_stack()
commit 353490a6f0d69bf4630b758742d4f4e070e52e81 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Thu May 4 15:19:31 2017 +0100 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Tue May 30 18:50:13 2017 +0100 x86/pv: Drop unused switch_kernel_stack() Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/domain.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 13cdc50..d9f3cfa 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -1885,8 +1885,6 @@ static void save_segments(struct vcpu *v) this_cpu(dirty_segment_mask) = dirty_segment_mask; } -#define switch_kernel_stack(v) ((void)0) - static void paravirt_ctxt_switch_from(struct vcpu *v) { save_segments(v); @@ -1905,8 +1903,6 @@ static void paravirt_ctxt_switch_to(struct vcpu *v) { unsigned long cr4; - switch_kernel_stack(v); - cr4 = pv_guest_cr4_to_real_cr4(v); if ( unlikely(cr4 != read_cr4()) ) write_cr4(cr4); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |