Skip to contentSkip to conversation

ppc64: Fix G5 build with DART (iommu) support

PATCH New Benjamin Herrenschmidt 1 participant 1 message Apr 8, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc64: Fix G5 build with DART (iommu) support

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 =====

arch/ppc64/kernel/prom.c +1 -1
@@ -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));