提交 affd2ae5 编写于 作者: W Will Deacon

xtensa: io: remove dummy relaxed accessor macros for reads

These are now defined by asm-generic/io.h, so we don't need the private
definitions anymore.

Cc: Chris Zankel <chris@zankel.net>
Acked-by: NMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: NWill Deacon <will.deacon@arm.com>
上级 916136b3
...@@ -74,13 +74,6 @@ static inline void iounmap(volatile void __iomem *addr) ...@@ -74,13 +74,6 @@ static inline void iounmap(volatile void __iomem *addr)
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */
/*
* Generic I/O
*/
#define readb_relaxed readb
#define readw_relaxed readw
#define readl_relaxed readl
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#include <asm-generic/io.h> #include <asm-generic/io.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册