diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-03-14 18:35:38 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2017-05-02 10:50:19 +0200 |
commit | 5e57f1d607d1cc0f54611162525ca6436e17e8b7 (patch) | |
tree | 314ee415de2627f2577221a8a98cdce6914afbf7 /arch/x86/kernel/process_64.c | |
parent | 52519f2af020b6b53b4e0cbb8cff71058ed434cd (diff) |
x86/xen: add CONFIG_XEN_PV to Kconfig
All code to support Xen PV will get under this new option. For the
beginning, check for it in the common code.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 825a1e47cf3e..b6840bf3940b 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -446,7 +446,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p) task_thread_info(prev_p)->flags & _TIF_WORK_CTXSW_PREV)) __switch_to_xtra(prev_p, next_p, tss); -#ifdef CONFIG_XEN +#ifdef CONFIG_XEN_PV /* * On Xen PV, IOPL bits in pt_regs->flags have no effect, and * current_pt_regs()->flags may not match the current task's |