]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/arm/include/asm/memory.h
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
[net-next-2.6.git] / arch / arm / include / asm / memory.h
index 77764301844b52946996f4a3287185c0fc349e05..7238b3b506436f1c326afc6f28e1f49eeea79e86 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