[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1417708634-24333-2-git-send-email-pbonzini@redhat.com>
Date: Thu, 4 Dec 2014 16:57:06 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: rkrcmar@...hat.com, Wanpeng Li <wanpeng.li@...ux.intel.com>,
stable@...r.kernel.org, x86@...nel.org,
"H. Peter Anvin" <hpa@...ux.intel.com>
Subject: [PATCH 1/9] x86: export get_xsave_addr
get_xsave_addr is the API to access XSAVE states, and KVM would
like to use it. Export it.
Cc: stable@...r.kernel.org
Cc: x86@...nel.org
Cc: H. Peter Anvin <hpa@...ux.intel.com>
Acked-by: Thomas Gleixner <tglx@...utronix.de>
Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
---
arch/x86/kernel/xsave.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/xsave.c b/arch/x86/kernel/xsave.c
index 4c540c4719d8..0de1fae2bdf0 100644
--- a/arch/x86/kernel/xsave.c
+++ b/arch/x86/kernel/xsave.c
@@ -738,3 +738,4 @@ void *get_xsave_addr(struct xsave_struct *xsave, int xstate)
return (void *)xsave + xstate_comp_offsets[feature];
}
+EXPORT_SYMBOL_GPL(get_xsave_addr);
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists