Commit 8ff9c6ef authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

A recent patch that cleaned up some absolute/virt translation macros forgot
one occurence, thus breaking g5 build with iommu support.
parent 728be84f
......@@ -798,7 +798,7 @@ void prom_initialize_dart_table(void)
* 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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment