![]() | |||||||||||||
Messages in this thread |
Been using this in production for over 9 months. It's interesting to note that, for AMD's, the check has been there for a long time. For GCC3, there is another problem. It does not inline what it should inline. (Classic example is the ubiquitous copy_(from/to)_user with constant size) You need either to add "-finline-limit=<n>" to the options and/or add this into compiler.h +#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) +#define inline __inline__ __attribute__((always_inline)) +#define __inline__ __inline__ __attribute__((always_inline)) +#define __inline __inline__ __attribute__((always_inline)) +#endif Margit - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 13:46 [from the cache] ©2003-2008 | |||||||||||||