[PATCH] De-inline some of arch/i386/kernel/i387.c

From: Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Date: Sat Nov 02 2002 - 20:39:27 EST


These functions are _way too large_ for inline keyword.

--
vda

diff -urN linux-2.5.45.orig/arch/i386/kernel/i387.c linux-2.5.45/arch/i386/kernel/i387.c --- linux-2.5.45.orig/arch/i386/kernel/i387.c Wed Oct 30 22:43:47 2002 +++ linux-2.5.45/arch/i386/kernel/i387.c Sat Nov 2 22:19:34 2002 @@ -109,7 +109,7 @@ return tmp; }

-static inline unsigned long twd_fxsr_to_i387( struct i387_fxsave_struct *fxsave ) +static unsigned long twd_fxsr_to_i387( struct i387_fxsave_struct *fxsave ) { struct _fpxreg *st = NULL; unsigned long twd = (unsigned long) fxsave->twd; @@ -232,7 +232,7 @@ * FXSR floating point environment conversions. */

-static inline int convert_fxsr_to_user( struct _fpstate *buf, +static int convert_fxsr_to_user( struct _fpstate *buf, struct i387_fxsave_struct *fxsave ) { unsigned long env[7]; @@ -260,7 +260,7 @@ return 0; }

-static inline int convert_fxsr_from_user( struct i387_fxsave_struct *fxsave, +static int convert_fxsr_from_user( struct i387_fxsave_struct *fxsave, struct _fpstate *buf ) { unsigned long env[7];

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:26 EST