mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
x86, xsave: Add __init attribute to setup_xstate_features()
This is called only from initialization code. Signed-off-by: Robert Richter <robert.richter@amd.com> LKML-Reference: <1279731838-1522-6-git-send-email-robert.richter@amd.com> Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
45c2d7f462
commit
4995b9dba9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue