From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <3347A85E.2781@iisc.com> Date: Sun, 6 Apr 1997 15:38:29 +0100 (BST) From: Tim Waugh Subject: Re: Kernel 2.1.32 In-Reply-To: <199704061158.VAA10718@sleeper.apana.org.au> On Sun, 6 Apr 1997, Matthew Geier wrote: > > Ok, what did I do... > sleeper:/usr/src/linux> make > gcc -D__KERNEL__ -I/u1/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o init/main.o init/main.c > In file included from init/main.c:40: > /u1/src/linux/include/asm/io.h:41: macro `swpipl' used with just one arg > /u1/src/linux/include/asm/io.h: In function `set_hae': > In file included from init/main.c:40: > /u1/src/linux/include/asm/io.h:41: parse error before `__asm__' > make: *** [init/main.o] Error 1 > sleeper:/usr/src/linux> > > Kernel 2.1.31 failed at the same point, and it was a clean unpack > of the 2.1.31 tree. Patching to .32 didnt seem to help. The fix for this is something like: --- include/asm-alpha/io.h~ Sun Apr 6 15:37:16 1997 +++ include/asm-alpha/io.h Sun Apr 6 15:37:18 1997 @@ -38,7 +38,8 @@ */ extern inline void set_hae(unsigned long new_hae) { - unsigned long ipl = swpipl(7); + unsigned long ipl; + swpipl(ipl,7); hae.cache = new_hae; *hae.reg = new_hae; mb(); This gets it over the compile problem, but the final link fails for me (local_intr_count and synchronise_irq). Tim. */ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com