Re: [PATCH 2/7] x86, xsave: introduce xstate enable functions

From: H. Peter Anvin
Date: Wed Jul 21 2010 - 17:53:53 EST


This is a multi-part message in MIME format.On 07/21/2010 02:20 PM, Suresh Siddha wrote:
>
> Yes, it should be __init.
>

OK, here is the proposed fix for that. It's a bit uglier than I would
have liked.

It also fixes the assumption that "we are on the boot CPU so we are
early in the boot", which is true now but will not be true in the future
when we can offline (and later re-online) the boot CPU.

Comments appreciated...

-hpa