[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] x86/HVM: key handler registration functions can be __init



commit 521ce5beba17a34324dbe0077cca85d347cf2b7d
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Wed Jul 10 13:45:55 2013 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Jul 10 13:45:55 2013 +0200

    x86/HVM: key handler registration functions can be __init
    
    This applies to both SVM and VMX.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Keir Fraser <keir@xxxxxxx>
---
 xen/arch/x86/hvm/svm/vmcb.c |    2 +-
 xen/arch/x86/hvm/vmx/vmcs.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xen/arch/x86/hvm/svm/vmcb.c b/xen/arch/x86/hvm/svm/vmcb.c
index ab32e52..21292bb 100644
--- a/xen/arch/x86/hvm/svm/vmcb.c
+++ b/xen/arch/x86/hvm/svm/vmcb.c
@@ -310,7 +310,7 @@ static struct keyhandler vmcb_dump_keyhandler = {
     .desc = "dump AMD-V VMCBs"
 };
 
-void setup_vmcb_dump(void)
+void __init setup_vmcb_dump(void)
 {
     register_keyhandler('v', &vmcb_dump_keyhandler);
 }
diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c
index ef0ee7f..de9f592 100644
--- a/xen/arch/x86/hvm/vmx/vmcs.c
+++ b/xen/arch/x86/hvm/vmx/vmcs.c
@@ -1492,7 +1492,7 @@ static struct keyhandler vmcs_dump_keyhandler = {
     .desc = "dump Intel's VMCS"
 };
 
-void setup_vmcs_dump(void)
+void __init setup_vmcs_dump(void)
 {
     register_keyhandler('v', &vmcs_dump_keyhandler);
 }
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.