Messages in this thread | | | Date | Wed, 3 Sep 2003 16:27:59 +0200 | From | Adrian Bunk <> | Subject | 2.6: CPU dependent inline in 8250 serial drivers |
| |
Hi Russell,
drivers/serial/8250.h in 2.6 contains the following:
<-- snip -->
... #if defined(__i386__) && (defined(CONFIG_M386) || defined(CONFIG_M486)) #define SERIAL_INLINE #endif #ifdef SERIAL_INLINE #define _INLINE_ inline #else #define _INLINE_ #endif ...
<-- snip -->
Why should these functions be inlined only for 386 and 486 CPUs but not for more recent CPUs or other architectures?
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
- 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/
| |