File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,6 @@ extern void set_iounmap_nonlazy(void);
215
215
216
216
#include <asm-generic/iomap.h>
217
217
218
- /*
219
- * Convert a virtual cached pointer to an uncached pointer
220
- */
221
- #define xlate_dev_kmem_ptr (p ) p
222
-
223
218
/*
224
219
* ISA space is 'always mapped' on a typical x86 system, no need to
225
220
* explicitly ioremap() it. The fact that the ISA IO space is mapped
Original file line number Diff line number Diff line change @@ -915,6 +915,9 @@ extern void ioport_unmap(void __iomem *p);
915
915
#endif /* CONFIG_GENERIC_IOMAP */
916
916
#endif /* CONFIG_HAS_IOPORT_MAP */
917
917
918
+ /*
919
+ * Convert a virtual cached pointer to an uncached pointer
920
+ */
918
921
#ifndef xlate_dev_kmem_ptr
919
922
#define xlate_dev_kmem_ptr xlate_dev_kmem_ptr
920
923
static inline void * xlate_dev_kmem_ptr (void * addr )
You can’t perform that action at this time.
0 commit comments