diff options
author | Will Deacon <will.deacon@arm.com> | 2013-09-03 14:10:11 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-10-20 13:49:17 -0400 |
commit | f6b3b7a9fa44ffa01f9c4f5ed13a9c48921e1ff2 (patch) | |
tree | 427de36817a19ed210a3c9ee28fdc5b8ed8388e6 /arch/ia64 | |
parent | 62e8abf7161b6a0dd32752cd7c60237988f8bff7 (diff) |
ia64: io: implement dummy relaxed accessor macros for writes
write{b,w,l,q}_relaxed are implemented by some architectures in order to
permit memory-mapped I/O accesses with weaker barrier semantics than the
non-relaxed variants.
This patch adds dummy macros for the write accessors to ia64, which may
be able to be optimised in a similar manner to the relaxed read
accessors at a later date.
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h index bee0acd52f7e..80a7e34be009 100644 --- a/arch/ia64/include/asm/io.h +++ b/arch/ia64/include/asm/io.h | |||
@@ -393,6 +393,10 @@ __writeq (unsigned long val, volatile void __iomem *addr) | |||
393 | #define writew(v,a) __writew((v), (a)) | 393 | #define writew(v,a) __writew((v), (a)) |
394 | #define writel(v,a) __writel((v), (a)) | 394 | #define writel(v,a) __writel((v), (a)) |
395 | #define writeq(v,a) __writeq((v), (a)) | 395 | #define writeq(v,a) __writeq((v), (a)) |
396 | #define writeb_relaxed(v,a) __writeb((v), (a)) | ||
397 | #define writew_relaxed(v,a) __writew((v), (a)) | ||
398 | #define writel_relaxed(v,a) __writel((v), (a)) | ||
399 | #define writeq_relaxed(v,a) __writeq((v), (a)) | ||
396 | #define __raw_writeb writeb | 400 | #define __raw_writeb writeb |
397 | #define __raw_writew writew | 401 | #define __raw_writew writew |
398 | #define __raw_writel writel | 402 | #define __raw_writel writel |