patch-2.1.132 linux/include/asm-arm/arch-vnc/mmu.h
Next file: linux/include/asm-arm/arch-vnc/processor.h
Previous file: linux/include/asm-arm/arch-vnc/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Dec 17 09:05:43 1998
- Orig file:
v2.1.131/linux/include/asm-arm/arch-vnc/mmu.h
- Orig date:
Tue Jul 21 00:15:32 1998
diff -u --recursive --new-file v2.1.131/linux/include/asm-arm/arch-vnc/mmu.h linux/include/asm-arm/arch-vnc/mmu.h
@@ -19,8 +19,8 @@
#define __phys_to_virt(ppage) ((ppage) + PAGE_OFFSET)
#define __virt_to_bus__is_a_macro
-#define __virt_to_bus(x) (x)
+#define __virt_to_bus(x) (x - 0xe0000000)
#define __bus_to_virt__is_a_macro
-#define __bus_to_virt(x) (x)
+#define __bus_to_virt(x) (x + 0xe0000000)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov