Re: [patch 7/7] Make "inline" no longer mandatory for gcc 4.x
From: Arjan van de Ven
Date: Sat Jan 07 2006 - 14:43:36 EST
On Sat, 2006-01-07 at 14:05 -0500, Kurt Wall wrote:
>
> This patch was applied on top of the previous 6 in the series from
> Arjan. NB that it _did_ build with 3.4.4 and -Os enabled. I'm
> rechecking, but this is the second time I've encountered this failure.
Does this fix it?
Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
--- linux-2.6.15/include/asm-x86_64/fixmap.h~ 2006-01-07 20:42:31.000000000 +0100
+++ linux-2.6.15/include/asm-x86_64/fixmap.h 2006-01-07 20:42:31.000000000 +0100
@@ -76,7 +76,7 @@
* directly without translation, we catch the bug with a NULL-deference
* kernel oops. Illegal ranges of incoming indices are caught too.
*/
-static inline unsigned long fix_to_virt(const unsigned int idx)
+static __always_inline unsigned long fix_to_virt(const unsigned int idx)
{
/*
* this branch gets completely eliminated after inlining,
-
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/