aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/hvm.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-09-14 14:30:23 +0200
committerJan Beulich <jbeulich@suse.com>2012-09-14 14:30:23 +0200
commit224f81b97fdf94c154b9295c77046fd91c673cb4 (patch)
treea502cb4749854fae185f7ec1649152f0b400f21d /xen/arch/x86/hvm/hvm.c
parent26c465b52783ca11cd79e231caf8fad08e276cf7 (diff)
downloadxen-224f81b97fdf94c154b9295c77046fd91c673cb4.tar.gz
xen-224f81b97fdf94c154b9295c77046fd91c673cb4.tar.bz2
xen-224f81b97fdf94c154b9295c77046fd91c673cb4.zip
x86/hvm: mark save/restore registration code __init
Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/hvm.c')
-rw-r--r--xen/arch/x86/hvm/hvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index 24502cc8a5..dfabe20b08 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -991,7 +991,7 @@ static int hvm_load_cpu_xsave_states(struct domain *d, hvm_domain_context_t *h)
/* We need variable length data chunk for xsave area, hence customized
* declaration other than HVM_REGISTER_SAVE_RESTORE.
*/
-static int __hvm_register_CPU_XSAVE_save_and_restore(void)
+static int __init __hvm_register_CPU_XSAVE_save_and_restore(void)
{
hvm_register_savevm(CPU_XSAVE_CODE,
"CPU_XSAVE",