RE: HELP: Is writeq an atomic operation??

From: Moore, Eric
Date: Fri May 02 2008 - 19:13:28 EST


On Friday, May 02, 2008 4:53 PM, Roland Dreier wrote:
>
> > > Are there any 32-bit platforms with writeq()? A quick grep
> > > suggests not.
> >
> > I think writeq defined in include/asm-x86/io_64.h
>
> Umm... io_64.h is 64-bit only (look at asm-x86/io.h if you
> don't believe me ;)
>

Yeah, I forgot I have a #ifndef writeq, then defined the x86_64 version
of that. I've not tested on x86, so I'm not sure whether it works.
How are you handling writeq when its not defined, as the case in x86?

Eric

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