PPC64 prom logo

James Simmons jsimmons at infradead.org
Tue Mar 25 06:42:24 EST 2003


Applied.

MS: (n) 1. A debilitating and surprisingly widespread affliction that
renders the sufferer barely able to perform the simplest task. 2. A disease.

James Simmons  [jsimmons at users.sf.net] 	                ____/|
fbdev/console/gfx developer                             \ o.O|
http://www.linux-fbdev.org                               =(_)=
http://linuxgfx.sourceforge.net                            U
http://linuxconsole.sourceforge.net

On Sun, 23 Mar 2003, Geert Uytterhoeven wrote:

>
> Sorry, it seems I missed a RELOC in the PPC64 prom logo code. Is this (patch
> against current BK) OK?
>
> --- linux-2.5.x/arch/ppc64/kernel/prom.c.orig	Sun Mar 23 11:37:52 2003
> +++ linux-2.5.x/arch/ppc64/kernel/prom.c	Sun Mar 23 11:39:35 2003
> @@ -1271,7 +1271,8 @@
>
>  #ifdef CONFIG_FB_LOGO_LINUX_CLUT224
>  		clut = RELOC(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],
>  					   clut[2]) != 0)
>  				break;
>
> Gr{oetje,eeting}s,
>
> 						Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds
>
>


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list