x86: don't build platform hypercall helpers multiple times
authorJan Beulich <jbeulich@suse.com>
Wed, 21 Oct 2015 08:52:28 +0000 (10:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 21 Oct 2015 08:52:28 +0000 (10:52 +0200)
commitc92e34bfae67b8ed7b47565a2a76e6797d4afe75
tree60251636aad14c510e67a019b62b7dc16c8bc4c1
parentd0b0290a996d2378aa74fe258bff7a18f7c9c553
x86: don't build platform hypercall helpers multiple times

... to eliminate the resulting duplicate symbols. This includes
dropping an odd per-CPU variable left from 32-bit days: Now that we
only care about 64-bit builds, converting the uint64_t needing
passing to a void pointer is no problem anymore.

Since the COMPAT handling section needs to be re-organized for this
anyway, also adjust a few other shortcomings (like declarations not
being visible at the point of the respective definition, risking both
to get out of sync).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/platform_hypercall.c
xen/arch/x86/sysctl.c
xen/include/asm-x86/smp.h