x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable
authorZhenzhong Duan <zhenzhong.duan@oracle.com>
Tue, 16 Jul 2019 04:26:08 +0000 (12:26 +0800)
committerJuergen Gross <jgross@suse.com>
Wed, 17 Jul 2019 06:09:59 +0000 (08:09 +0200)
commitcc8f3b4dd2eb859bc57187ccd94b5cd715d9cfba
treef3d181d1de9efa3cacc3f32f022107bd594cb9c7
parentb39b049749ce08c7756be57082177730617bb9a0
x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable

.. as "nopv" support needs it to be changeable at boot up stage.

Checkpatch reports warning, so move variable declarations from
hypervisor.c to hypervisor.h

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/include/asm/hypervisor.h
arch/x86/kernel/cpu/hypervisor.c
arch/x86/xen/enlighten_hvm.c