diff options
author | Steve Rosenbluth <conceptoverdrive@sbcglobal.net> | 2008-06-01 16:35:54 +0200 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2008-07-20 18:25:46 +0200 |
commit | d27a5428bafa809eb70ebafc4489168653a1f20f (patch) | |
tree | f0863b9c5e583f00c362263a0a457fd445f25f9e | |
parent | 5756ec2b9feccb17898c71d22bad9a468a5919d6 (diff) | |
download | linux-2.4-d27a5428bafa809eb70ebafc4489168653a1f20f.tar.gz |
fix build error with some flavours of gcc 2.95.3
This patches include/asm/processor.h
Sometime between 2.4.29 and 2.4.36.2 spaces were deleted between colons
which causes compiler gcc 2.95.3 to fail to parse the header
when compiling applications which include it.
Adding back the spaces solves the problem on gcc 2.95.3.
gcc 4.1.1 also compiles the kernel OK with this patch."
Signed-off-by: Willy Tarreau <w@1wt.eu>
-rw-r--r-- | include/asm-i386/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 914c1910491f60..4ccfc5d26c2152 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h @@ -495,7 +495,7 @@ struct extended_sigtable { /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ static inline void rep_nop(void) { - __asm__ __volatile__("rep;nop" ::: "memory"); + __asm__ __volatile__("rep;nop": : :"memory"); } #define cpu_relax() rep_nop() |