cpu_read*() and cpu_wrire*() are precisely equal to __raw_read*() and __raw_write*(). Striving for correctness we can replace all those __raw_*() with cpu_*() as that's exactly what the former ones do. Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
15 lines
378 B
C
15 lines
378 B
C
#ifndef __IO_H
|
|
#define __IO_H
|
|
|
|
#include <asm/io.h>
|
|
|
|
/* cpu_read/cpu_write: cpu native io accessors */
|
|
#define cpu_readb(a) __raw_readb(a)
|
|
#define cpu_readw(a) __raw_readw(a)
|
|
#define cpu_readl(a) __raw_readl(a)
|
|
#define cpu_writeb(v, a) __raw_writeb((v), (a))
|
|
#define cpu_writew(v, a) __raw_writew((v), (a))
|
|
#define cpu_writel(v, a) __raw_writel((v), (a))
|
|
|
|
#endif /* __IO_H */
|