Change bogus extern inline' to static inline'.

This finishes making the kernel compile without -O.

The "optimized" asm version of the function being inlined
(translate_bytes()) uses slow instructions.  On a 486, assuming
everything is in the cache (unlikely), it is 21/15 times slower
than the dumb C version and 21/3 times slower than the best
possible bytewise method.
This commit is contained in:
Bruce Evans 1995-07-25 23:03:22 +00:00
parent 3ad4ec7c21
commit 3e3de3f369

View File

@ -149,7 +149,7 @@ translate_bytes (const unsigned char *table, unsigned char *buff, unsigned long
}
#else
extern inline void
static inline void
translate_bytes (const void *table, void *buff, unsigned long n)
{
__asm__ ("cld\n"