From: Tim Waugh <tmw20@cam.ac.uk>
Subject: Re: Kernel 2.1.32
Date: Sun, 6 Apr 1997 15:38:29 +0100 (BST) [thread overview]
Message-ID: <ee976cb09caea343864efea65ca172d4.axp-list@archive.invalid> (raw)
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
next prev parent reply other threads:[~1997-04-06 14:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-06 11:58 Kernel 2.1.32 Matthew Geier
1997-04-06 14:38 ` Tim Waugh [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-04-09 6:28 Jeff Odom
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox