lkml.org 
[lkml]   [2002]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] De-inline some of arch/i386/kernel/i387.c
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.029 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site