]> xenbits.xensource.com Git - xen.git/commit
x86/HVM: fold hypercall tables
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:18:50 +0000 (16:18 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:18:50 +0000 (16:18 +0100)
commit33a231e3ff0e76d70adb5b22c52989d3a918d830
treeb2cd774bd070c4fbe390892a91121e5c578eaedf
parentffbbfda37782a2408953af1a3e00ada80bb141bc
x86/HVM: fold hypercall tables

In order to reduce the risk of unintentionally adding a function
pointer to just one of the two tables, merge them into one, with each
entry pair getting generated by a single macro invocation (at once
dropping all explicit casting outside the macro definition).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c