public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* is there any chance of cleaning up the "inline" chaos?
@ 2010-04-18 20:06 Robert P. J. Day
  2010-04-18 20:41 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2010-04-18 20:06 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  i mean, how many different definitions of inline are necessary?

#if !defined(CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING) || \
    !defined(CONFIG_OPTIMIZE_INLINING) || (__GNUC__ < 4)
# define inline         inline          __attribute__((always_inline))
# define __inline__     __inline__      __attribute__((always_inline))
# define __inline       __inline        __attribute__((always_inline))
#endif

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

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

end of thread, other threads:[~2010-04-18 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-18 20:06 is there any chance of cleaning up the "inline" chaos? Robert P. J. Day
2010-04-18 20:41 ` Joe Perches

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