Re: [patch 7/7] Make "inline" no longer mandatory for gcc 4.x

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

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux