Commit 88458af4 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Don't prefetch io space.

memcpy_to/fromio shouldn't be using memcpy,
as this could equate to the versions that
prefetch, which could upset some devices.
parent e37f880c
......@@ -165,8 +165,8 @@ extern void bt_iounmap(void *addr, unsigned long size);
#define __raw_writel writel
#define memset_io(a,b,c) memset(__io_virt(a),(b),(c))
#define memcpy_fromio(a,b,c) memcpy((a),__io_virt(b),(c))
#define memcpy_toio(a,b,c) memcpy(__io_virt(a),(b),(c))
#define memcpy_fromio(a,b,c) __memcpy((a),__io_virt(b),(c))
#define memcpy_toio(a,b,c) __memcpy(__io_virt(a),(b),(c))
/*
* ISA space is 'always mapped' on a typical x86 system, no need to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment