RE: HELP: Is writeq an atomic operation??

Moore, Eric
2008-05-02T23:13:15Z

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