[lkml]   [2001]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectAlpha compile error on 2.4.2-ac3 (irq_err_count)

Machine: DEC-Alpha XL300 (Alcor/XLT)
Kernel: 2.4.2-ac3

make[1]: Entering directory `/usr/src/linux-2.4.2-ac3/arch/alpha/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.2-ac3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mno-fp-regs -ffixed-8 -Wa,-mev6 -c -o irq_alpha.o irq_alpha.c
irq_alpha.c: In function `dummy_perf':
irq_alpha.c:33: `irq_err_count' undeclared (first use in this function)
irq_alpha.c:33: (Each undeclared identifier is reported only once
irq_alpha.c:33: for each function it appears in.)
irq_alpha.c: In function `do_entInt':
irq_alpha.c:54: `irq_err_count' undeclared (first use in this function)
irq_alpha.c: In function `process_mcheck_info':
irq_alpha.c:152: warning: unused variable `cpu'
make[1]: *** [irq_alpha.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.2-ac3/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2

Temporary fix to get it compiling again:
--- linux/include/asm-alpha/hw_irq.h~ Fri Feb 23 23:45:39 2001
+++ linux/include/asm-alpha/hw_irq.h Fri Feb 23 23:59:51 2001
@@ -5,6 +5,8 @@

static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {}

+extern volatile unsigned long irq_err_count;
#define ACTUAL_NR_IRQS alpha_mv.nr_irqs

But the real bug seems to be that the changes to irq_err_count ("atomic_t"
instead of "volatile unsigned long", and moving it from linux/irq.h to
asm/hw_irq.h are done for i386 but not for the other architectures.



The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:17    [W:0.021 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site