Re: [parisc-linux] [2.6 patch] parisc: "extern inline" -> "static inline"

From: Matthew Wilcox
Date: Sun Oct 30 2005 - 10:23:06 EST


On Sun, Oct 30, 2005 at 02:03:01AM +0200, Adrian Bunk wrote:
> "extern inline" doesn't make much sense.

Are you sure? It used to. Taking just one sample, pgd_none:

extern inline: alpha, parisc, s390
static inline: frv, ppc, sh64
define: arm, arm26, frv, h8300, m68knommu, ppc64, v850

I really don't think it makes any difference. Such a function (returning
always 0) is always going to be inlined, and the only difference between
static inline and extern inline is what happens when it can't be inlined.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/