patch-2.4.23 linux-2.4.23/include/asm-ppc/ppc_asm.h
Next file: linux-2.4.23/include/asm-ppc/processor.h
Previous file: linux-2.4.23/include/asm-ppc/ppc4xx_dma.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/asm-ppc/ppc_asm.h
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/include/asm-ppc/ppc_asm.h linux-2.4.23/include/asm-ppc/ppc_asm.h
@@ -112,6 +112,12 @@
bdnz 0b
#endif
+#ifdef CONFIG_BOOKE
+#define tophys(rd,rs) \
+ mr rd,rs
+#define tovirt(rd,rs) \
+ mr rd,rs
+#else /* CONFIG_BOOKE */
/*
* On APUS (Amiga PowerPC cpu upgrade board), we don't know the
* physical base address of RAM at compile time.
@@ -129,6 +135,7 @@
.align 1; \
.long 0b; \
.previous
+#endif /* CONFIG_BOOKE */
/*
* On 64-bit cpus, we use the rfid instruction instead of rfi, but
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)