Re: [PARPORT] [patch] lp needed testers [Re: lp fix against pre-2.1.127-7]

Philip Blundell (philb@gnu.org)
Sat, 07 Nov 1998 08:37:42 +0100


>>An mb() stops the *compiler* from re-ordering things. It doesn't generate
>
>Maybe I am interpreting things wrong, this piece of code is from
>asm-i386/system.h:
>
>/*
> * Force strict CPU ordering.
> * And yes, this is required on UP too when we're talking
> * to devices.
> */
>#define mb() __asm__ __volatile__ ("lock; addl $0,0(%%esp)": : :"memory")

Sorry, yes, you're quite right. I forgot the i386 did that these days.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/