[PATCH] ppc64: Fix G5 build with DART (iommu) support

From: Benjamin Herrenschmidt
Date: Wed Apr 07 2004 - 19:15:59 EST


Hi !

A recent patch that cleaned up some absolute/virt translation macros
forgot one occurence, thus breaking g5 build with iommu support.

Please apply,

Ben.

===== arch/ppc64/kernel/prom.c 1.66 vs edited =====
--- 1.66/arch/ppc64/kernel/prom.c Wed Mar 31 01:45:59 2004
+++ edited/arch/ppc64/kernel/prom.c Thu Apr 8 10:08:09 2004
@@ -798,7 +798,7 @@
* will blow up an entire large page anyway in the kernel mapping
*/
RELOC(dart_tablebase) =
- absolute_to_virt(lmb_alloc_base(1UL<<24, 1UL<<24, 0x80000000L));
+ abs_to_virt(lmb_alloc_base(1UL<<24, 1UL<<24, 0x80000000L));

prom_print(RELOC("Dart at: "));
prom_print_hex(RELOC(dart_tablebase));


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/