mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6: CPU dependent inline in 8250 serial drivers
@ 2003-09-03 14:27 Adrian Bunk
  2003-09-03 16:05 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-09-03 14:27 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-03 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03 14:27 2.6: CPU dependent inline in 8250 serial drivers Adrian Bunk
2003-09-03 16:05 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®