[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150421135127.GB13605@tassilo.jf.intel.com>
Date: Tue, 21 Apr 2015 06:51:27 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Andi Kleen <andi@...stfloor.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: Reset FPU on exec
On Tue, Apr 21, 2015 at 11:35:58AM +0200, Thomas Gleixner wrote:
> On Fri, 17 Apr 2015, Andi Kleen wrote:
>
> > +void reset_fpu(void)
> > +{
> > + drop_init_fpu(current);
> > +}
>
> So we have a new function which is merily a wrapper around a non
> existent function.
I originally tried to use the inline function directly, but
it's defined in "fpu-internal.h" and including it in asm/elf.h
causing all kinds of issues.
>
> What's the exact purpose of this patch aside of breaking the build?
Try reading the description?
Also it builds fine here.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists