Messages in this thread | | | Date | Tue, 21 Apr 2015 06:51:27 -0700 | From | Andi Kleen <> | 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@linux.intel.com -- Speaking for myself only
| |