lkml.org 
[lkml]   [2005]   [Mar]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectMissing 'noinline' and '__compiler_offsetof' for GCC4+
FromDavid Woodhouse <>
DateWed, 02 Mar 2005 09:16:47 +0000
At some point we'll want to create 'compiler-gcc4.h' but probably not
until it's going to be actually differ from 'compiler-gcc+.h'. Because
they only get out of date if they're not used by anyone...

--- linux-2.6.10/include/linux/compiler-gcc+.h~	2004-12-24 21:35:39.000000000 +0000
+++ linux-2.6.10/include/linux/compiler-gcc+.h	2005-03-01 15:49:47.000000000 +0000
@@ -13,4 +13,6 @@
 #define __attribute_used__	__attribute__((__used__))
 #define __attribute_pure__	__attribute__((pure))
 #define __attribute_const__	__attribute__((__const__))
+#define  noinline		__attribute__((noinline))
 #define __must_check 		__attribute__((warn_unused_result))
+#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)

-- 
dwmw2

-
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 14:10    [from the cache]
©2003-2008