aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2020-12-03 21:02:23 +0000
committerDavid Woodhouse <dwmw@amazon.co.uk>2021-02-04 14:19:38 +0000
commit42387042ba38cca8fb86bb3a7913e44cd3569750 (patch)
tree244e2b06c42a5bb956b30f29bd2f2ed66a2aa537 /include/xen
parentKVM: x86/xen: register shared_info page (diff)
downloadlinux-dev-42387042ba38cca8fb86bb3a7913e44cd3569750.tar.xz
linux-dev-42387042ba38cca8fb86bb3a7913e44cd3569750.zip
xen: add wc_sec_hi to struct shared_info
Xen added this in 2015 (Xen 4.6). On x86_64 and Arm it fills what was previously a 32-bit hole in the generic shared_info structure; on i386 it had to go at the end of struct arch_shared_info. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/interface/xen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 8bfb242f433e..5ee37a296481 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -598,7 +598,9 @@ struct shared_info {
* their gettimeofday() syscall on this wallclock-base value.
*/
struct pvclock_wall_clock wc;
-
+#ifndef CONFIG_X86_32
+ uint32_t wc_sec_hi;
+#endif
struct arch_shared_info arch;
};