__builtin_expect in 2.4.0-test11pre4
PATCH 1/1 __builtin_expect in 2.4.0-test11pre4
At least on Alpha, and possibly other architectures, the following minor correction is needed:
include/asm-alpha/semaphore.h renamed from include/asm-alpha/semaphore.h~ +1 -0
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line · Michal Jaegermann
+#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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/