[2.1.86] warning about assignment to r-o variable!!!

Niels Kristian Bech Jensen (nkbj@image.dk)
Wed, 11 Feb 1998 09:57:56 +0100 (MET)


Hi,
I get this warning when compiling 2.1.86 as an UP kernel.

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486 -c -o irq.o irq.c
irq.c: In function `make_8259A_irq':
irq.c:724: warning: assignment of read-only variable `io_apic_irqs'

io_apic_irqs is declared static const for non-SMP kernels.

--
Med venlig hilsen / Best regards
                                                              nkbj@image.dk
Niels Kristian Bech Jensen                       http://www.image.dk/~nkbj/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu