• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revisione967f39f00ab7861256b61d6194d2d167d7b65ef (tree)
Zeit2006-11-20 02:02:10
AutorWilly Tarreau <w@1wt....>
CommiterWilly Tarreau

Log Message

[GCC4] fix build error in arch/alpha/kernel/irq.c

This patch fixes this error with gcc 4 on alpha :

gcc-4.1 -DKERNEL -I/data/git/public/linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=irq -c -o irq.o irq.c
irq.c: In function 'handle_irq':
irq.c:619: error: invalid lvalue in increment

Ändern Zusammenfassung

Diff

--- a/include/asm-alpha/hardirq.h
+++ b/include/asm-alpha/hardirq.h
@@ -31,7 +31,7 @@ typedef struct {
3131 #ifndef CONFIG_SMP
3232
3333 extern unsigned long __irq_attempt[];
34-#define irq_attempt(cpu, irq) ((void)(cpu), __irq_attempt[irq])
34+#define irq_attempt(cpu, irq) (__irq_attempt[irq])
3535
3636 #define hardirq_trylock(cpu) (local_irq_count(cpu) == 0)
3737 #define hardirq_endlock(cpu) ((void) 0)
Show on old repository browser