x86/pv: Drop unused switch_kernel_stack()
PATCH 1/1 x86/pv: Drop unused switch_kernel_stack()
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
--- xen/arch/x86/domain.c | 4 ---- 1 file changed, 4 deletions(-)
xen/arch/x86/domain.c +0 -4
@@ -1886,8 +1886,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);
@@ -1906,8 +1904,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);
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 2 lines
Quoted 1 line
Quoted 1 line · On 05.05.17 at 17:51, <[email protected]> wrote:
Signed-off-by Andrew Cooper <[email protected]>
Acked-by Jan Beulich <[email protected]>
I too had this on my mental list for killing...
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 5 lines · Jan Beulich
Quoted 2 lines
Quoted 1 line
Quoted 1 line · On 05.05.17 at 17:51, <[email protected]> wrote:
Signed-off-by Andrew Cooper <[email protected]>Acked-by Jan Beulich <[email protected]>I too had this on my mental list for killing...
I have lost count of the number of times I've looked at it and decided that I really should get around to deleting it.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel