Commit 640a26c5 authored by Paul Mackerras's avatar Paul Mackerras Committed by Anton Blanchard

ppc64: Add missing RELOCs

parent 601917b5
......@@ -1270,8 +1270,8 @@ check_display(unsigned long mem)
break;
#ifdef CONFIG_LOGO_LINUX_CLUT224
clut = RELOC(RELOC(&logo_linux_clut224)->clut);
for (i = 0; i < logo_linux_clut224.clutsize; i++, clut += 3)
clut = PTRRELOC(RELOC(logo_linux_clut224.clut));
for (i = 0; i < RELOC(logo_linux_clut224.clutsize); i++, clut += 3)
if (prom_set_color(ih, i + 32, clut[0], clut[1],
clut[2]) != 0)
break;
......
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