Re: [tip:core/locking] locking: Check spinlock_t/rwlock_t argument type on non-SMP builds too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 3, 2009 at 15:52, Dave wrote:
> The statistics (2.6.31-rc4ish) show a strong preference for static inline:
>
> $ find include -name "*.h" | xargs grep "static inline" | wc -l
> 6461
>
> $ find include -name "*.h" | xargs grep "extern inline" | wc -l
> 2
>
> $ find arch -name "*.h" | xargs grep "extern inline" | wc -l
> 125
>
> $ find arch -name "*.h" | xargs grep "static inline" | wc -l
> 7058
>
> $ find arch -name "*.h" | xargs grep "extern inline" | sed
> "s?^\(.*\):.*\$?\1?" | sort | uniq
> arch/blackfin/include/asm/string.h

we do want 'extern inline' (i.e. gnu_inline) semantics with the
Blackfin string functions, but the current nest of defines (making all
forms of "inline" expand to "always_inline") makes it hard to do at
the moment.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux