Re: [PATCH] asm-generic: architecture independent readq/writeq for32bit environment

From: H. Peter Anvin
Date: Thu Feb 09 2012 - 09:46:17 EST


On 02/09/2012 05:37 AM, Hitoshi Mitake wrote:
On Tue, Feb 7, 2012 at 12:47, hpanvin@xxxxxxxxx<hpa@xxxxxxxxx> wrote:
Should be volatile u64 * not volatile void *...

Is this the type of parameters?
The parameters of atomic readq/writeq defined in arch/x86/include/asm/io.h
are defined as void *. I think that atomic readq/writeq and non-atomic
readq/writeq
should have same typed parameters and return values.


That sounds like a bug.

-hpa

--
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/