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

From: Suresh Siddha
Date: Wed Jul 21 2010 - 18:33:20 EST


On Wed, 2010-07-21 at 14:53 -0700, H. Peter Anvin wrote:
> 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...

I am ok with this fix. Thanks for taking a stab at this.

suresh

--
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/