Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4995b9db authored by Robert Richter's avatar Robert Richter Committed by H. Peter Anvin
Browse files

x86, xsave: Add __init attribute to setup_xstate_features()



This is called only from initialization code.

Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
LKML-Reference: <1279731838-1522-6-git-send-email-robert.richter@amd.com>
Acked-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 45c2d7f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;