[parisc-linux-cvs] Patch for SMP support, etc.

Helge Deller helge.deller@sap.com
Thu, 6 Sep 2001 13:27:06 +0200


Hi John,

you add the comment 
"/* HACK: need to investigate why this happens if SMP enabled */"
with your patch, but the BUG() appears on UP too, so it doesn't 
seem to be SMP specific.

Greetings,
Helge

> --- arch/parisc/kernel/superio.c.old	Wed Aug 29 03:39:10 2001
> +++ arch/parisc/kernel/superio.c	Wed Aug 29 04:43:14 2001
> @@ -103,7 +103,10 @@ superio_interrupt(int irq, void *devp, s
>  	results = inb(IC_PIC1+0);
>
>  	if ((results & 0x80) == 0) {
> +#ifndef CONFIG_SMP
> +		/* HACK: need to investigate why this happens if SMP enabled */
>  		BUG(); /* This shouldn't happen */
> +#endif
>  		return;
>  	}