2002-11-02 20:45:59

by Denis Vlasenko

[permalink] [raw]
Subject: [PATCH] De-inline some of arch/i386/kernel/i387.c

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];