summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/pvh
diff options
context:
space:
mode:
authorMaran Wilson2018-12-10 20:08:44 +0100
committerBoris Ostrovsky2018-12-13 19:41:49 +0100
commit4df7363e52105bf7a8589efb2959c907872644fb (patch)
tree416b2481a29c4ef733800fef4ff19f5fcc69ae6c /arch/x86/platform/pvh
parentxen/pvh: Move PVH entry code out of Xen specific tree (diff)
downloadkernel-qcow2-linux-4df7363e52105bf7a8589efb2959c907872644fb.tar.gz
kernel-qcow2-linux-4df7363e52105bf7a8589efb2959c907872644fb.tar.xz
kernel-qcow2-linux-4df7363e52105bf7a8589efb2959c907872644fb.zip
xen/pvh: Create a new file for Xen specific PVH code
We need to refactor PVH entry code so that support for other hypervisors like Qemu/KVM can be added more easily. The first step in that direction is to create a new file that will eventually hold the Xen specific routines. Signed-off-by: Maran Wilson <maran.wilson@oracle.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86/platform/pvh')
-rw-r--r--arch/x86/platform/pvh/enlighten.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/platform/pvh/enlighten.c b/arch/x86/platform/pvh/enlighten.c
index 02e3ab7ff242..491932991202 100644
--- a/arch/x86/platform/pvh/enlighten.c
+++ b/arch/x86/platform/pvh/enlighten.c
@@ -18,10 +18,9 @@
/*
* PVH variables.
*
- * xen_pvh pvh_bootparams and pvh_start_info need to live in data segment
- * since they are used after startup_{32|64}, which clear .bss, are invoked.
+ * pvh_bootparams and pvh_start_info need to live in the data segment since
+ * they are used after startup_{32|64}, which clear .bss, are invoked.
*/
-bool xen_pvh __attribute__((section(".data"))) = 0;
struct boot_params pvh_bootparams __attribute__((section(".data")));
struct hvm_start_info pvh_start_info __attribute__((section(".data")));