git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, xsave: Add __init attribute to setup_xstate_features()
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
xsave.c
diff --git
a/arch/x86/kernel/xsave.c
b/arch/x86/kernel/xsave.c
index
3b44a9b
..
cfc7901
100644
(file)
--- a/
arch/x86/kernel/xsave.c
+++ b/
arch/x86/kernel/xsave.c
@@
-370,7
+370,7
@@
static inline void xstate_enable(u64 mask)
* Record the offsets and sizes of different state managed by the xsave
* memory layout.
*/
-static void setup_xstate_features(void)
+static void
__init
setup_xstate_features(void)
{
int eax, ebx, ecx, edx, leaf = 0x2;