]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: provide readq()/writeq() on 32-bit too, complete
authorIngo Molnar <mingo@elte.hu>
Sun, 30 Nov 2008 09:20:20 +0000 (10:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 30 Nov 2008 09:26:18 +0000 (10:26 +0100)
commit93093d099e5dd0c258fd530c12668e828c20df41
tree7cdf1edac6655fcbd2eee245d4349d876e15287a
parenta0b1131e479e5af32eefac8bc54c9742e23d638e
x86: provide readq()/writeq() on 32-bit too, complete

if HAVE_READQ/HAVE_WRITEQ are defined, the full range of readq/writeq
APIs has to be provided to drivers:

 drivers/infiniband/hw/amso1100/c2.c: In function 'c2_tx_ring_alloc':
 drivers/infiniband/hw/amso1100/c2.c:133: error: implicit declaration of function '__raw_writeq'

So provide them on 32-bit as well. Also, map all the APIs to the
strongest ordering variant. It's way too easy to mess such details
up in drivers and the difference between "memory" and "" constrained
asm() constructs is in the noise range.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/io.h