* [PATCH] __builtin_expect in 2.4.0-test11pre4
@ 2000-11-14 16:58 Michal Jaegermann
2000-11-14 18:56 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Michal Jaegermann @ 2000-11-14 16:58 UTC (permalink / raw)
To: linux-kernel; +Cc: rth
At least on Alpha, and possibly other architectures, the following
minor correction is needed:
--- linux-2.4.0p11p/include/asm-alpha/semaphore.h~ Mon Nov 13 14:01:10 2000
+++ linux-2.4.0p11p/include/asm-alpha/semaphore.h Mon Nov 13 14:03:44 2000
@@ -11,6 +11,7 @@
#include <asm/current.h>
#include <asm/system.h>
#include <asm/atomic.h>
+#include <asm/compiler.h>
#define DEBUG_SEMAPHORE 0
#define DEBUG_RW_SEMAPHORE 0
or various version of a compiler are blowing a fuse on a missing
__builtin_expect prototype.
Michal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] __builtin_expect in 2.4.0-test11pre4
2000-11-14 16:58 [PATCH] __builtin_expect in 2.4.0-test11pre4 Michal Jaegermann
@ 2000-11-14 18:56 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2000-11-14 18:56 UTC (permalink / raw)
To: Michal Jaegermann; +Cc: linux-kernel
On Tue, Nov 14, 2000 at 09:58:00AM -0700, Michal Jaegermann wrote:
> +#include <asm/compiler.h>
Ug. Of course, this is what I intended after having added
the define to compiler.h.
r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-14 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-14 16:58 [PATCH] __builtin_expect in 2.4.0-test11pre4 Michal Jaegermann
2000-11-14 18:56 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox