]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/include/asm/memory.h
Merge branch 'pending-dma-streaming' (early part) into devel
[linux-beck.git] / arch / arm / include / asm / memory.h
index 9099ada9da0c7e74c5f5f7768cb26a87fd4cb0f9..5421d82a2572475667189fd1e93e07e19359de25 100644 (file)
  * private definitions which should NOT be used outside memory.h
  * files.  Use virt_to_phys/phys_to_virt/__pa/__va instead.
  */
+#ifndef __virt_to_phys
 #define __virt_to_phys(x)      ((x) - PAGE_OFFSET + PHYS_OFFSET)
 #define __phys_to_virt(x)      ((x) - PHYS_OFFSET + PAGE_OFFSET)
+#endif
 
 /*
  * Convert a physical address to a Page Frame Number and back