Hi, On Tue, Sep 14, 2010 at 09:11:26AM -0500, G, Manjunath Kondaiah wrote:
There are several places in kernel code (ex: tools/perf/util/include/linux/bitops.h:static __always_inline int test_bit(unsigned int nr, const unsigned long *addr)) which are using __always_inline attribute to make sure functions are inlined.
those are special cases. Generally, compiler is much better than humans for choosing what should be inlined or not.
Ok, Agreed. We can have inline functions and expanding all macros in mach-omap dma driver code. However, there is common dma driver(in plat-omap) which has code for both omap1 and omap2plus which uses this macro.
well, that can be patched, right ? -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html