* Renamed to memory.h
* Moved PAGE_OFFSET and TASK_SIZE here
*/
-#ifndef __ASM_ARCH_MMU_H
-#define __ASM_ARCH_MMU_H
+#ifndef __ASM_ARCH_MEMORY_H
+#define __ASM_ARCH_MEMORY_H
#include <linux/config.h>
#elif defined(CONFIG_FOOTBRIDGE_HOST)
-#define __virt_to_bus__is_a_macro
#define __virt_to_bus(x) ((x) - 0xe0000000)
-#define __bus_to_virt__is_a_macro
#define __bus_to_virt(x) ((x) + 0xe0000000)
#else
#endif
-#define TASK_SIZE_26 (0x04000000UL)
+/*
+ * Physical DRAM offset.
+ */
#define PHYS_OFFSET (0x00000000UL)
/*
*/
#define TASK_UNMAPPED_BASE ((TASK_SIZE + 0x01000000) / 3)
-/*
- * The DRAM is always contiguous.
- */
-#define __virt_to_phys__is_a_macro
-#define __virt_to_phys(vpage) ((unsigned long)(vpage) - PAGE_OFFSET)
-#define __phys_to_virt__is_a_macro
-#define __phys_to_virt(ppage) ((unsigned long)(ppage) + PAGE_OFFSET)
-
#endif