[PATCH 5/7] x86, xsave: add __init attribute to setup_xstate_features()

From: Robert Richter
Date: Wed Jul 21 2010 - 13:23:16 EST


This is called only from initialization code.

Signed-off-by: Robert Richter <robert.richter@xxxxxxx>
---
arch/x86/kernel/xsave.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/xsave.c b/arch/x86/kernel/xsave.c
index 3b44a9b..cfc7901 100644
--- 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;

--
1.7.1.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/