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