aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-imx/memory.h
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-06-27 22:54:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-28 17:54:55 +0100
commit313f53e3823c00bd0aa3601f01897573f2fc326d (patch)
tree5ca183d12c392ac6b387e49fc362e0f11ba03156 /include/asm-arm/arch-imx/memory.h
parent2b8b4913efa20f76718f524accf40e6d02a3bf0a (diff)
[ARM] 3660/1: Remove legacy defines
Patch from Andrew Victor Remove the remaining legacy __virt_to_bus__is_a_macro and __bus_to_virt__is_a_macro defines in some ARM platforms. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-imx/memory.h')
-rw-r--r--include/asm-arm/arch-imx/memory.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-arm/arch-imx/memory.h b/include/asm-arm/arch-imx/memory.h
index d09ae32cd2f..5ad90127915 100644
--- a/include/asm-arm/arch-imx/memory.h
+++ b/include/asm-arm/arch-imx/memory.h
@@ -30,9 +30,7 @@
* bus_to_virt: Used to convert an address for DMA operations
* to an address that the kernel can use.
*/
-#define __virt_to_bus__is_a_macro
-#define __virt_to_bus(x) (x - PAGE_OFFSET + PHYS_OFFSET)
-#define __bus_to_virt__is_a_macro
-#define __bus_to_virt(x) (x - PHYS_OFFSET + PAGE_OFFSET)
+#define __virt_to_bus(x) (x - PAGE_OFFSET + PHYS_OFFSET)
+#define __bus_to_virt(x) (x - PHYS_OFFSET + PAGE_OFFSET)
#endif