* Missing 'noinline' and '__compiler_offsetof' for GCC4+
@ 2005-03-02 9:16 David Woodhouse
2005-03-02 9:42 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: David Woodhouse @ 2005-03-02 9:16 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Missing 'noinline' and '__compiler_offsetof' for GCC4+
2005-03-02 9:16 Missing 'noinline' and '__compiler_offsetof' for GCC4+ David Woodhouse
@ 2005-03-02 9:42 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-03-02 9:42 UTC (permalink / raw)
To: David Woodhouse; +Cc: torvalds, linux-kernel
On Wed, Mar 02, 2005 at 09:16:47AM +0000, David Woodhouse wrote:
> 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...
>...
The solution already in -mm is:
- compiler-gcc+.h removed because it was never updated
- compiler-gcc4.h created, contains compiler-gcc+.h plus the two fixes
you noted
> dwmw2
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-02 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 9:16 Missing 'noinline' and '__compiler_offsetof' for GCC4+ David Woodhouse
2005-03-02 9:42 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®