[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdXhh07qH+neBVqBtHEfkgSqNjmxTqZ47pi37h1CYk2cLQ@mail.gmail.com>
Date: Fri, 3 Jul 2015 11:13:55 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Urs Fässler <urs.fassler@...esatwork.ch>
Cc: Daniel Vetter <daniel.vetter@...ll.ch>,
Linux Fbdev development list <linux-fbdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
oliver.staebler@...esatwork.ch,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>,
Tomi Valkeinen <tomi.valkeinen@...com>
Subject: Re: [PATCH 1/3] video/logo: use list of logos to find logo
On Fri, Jul 3, 2015 at 10:38 AM, Urs Fässler <urs.fassler@...esatwork.ch> wrote:
> -#ifdef CONFIG_LOGO_MAC_CLUT224
> - /* Macintosh Linux logo on m68k */
> - if (MACH_IS_MAC)
> - logo = &logo_mac_clut224;
> +#if defined(CONFIG_LOGO_MAC_CLUT224) && MACH_IS_MAC
> + /* Macintosh Linux logo on m68k */
> + &logo_mac_clut224,
> #endif
That won't work, as depending on kernel configuration, MACH_IS_MAC
can be a run-time test, cfr.
arch/m68k/include/asm/setup.h:# define MACH_IS_MAC (0)
arch/m68k/include/asm/setup.h:# define MACH_IS_MAC (m68k_machtype == MACH_MAC)
arch/m68k/include/asm/setup.h:# define MACH_IS_MAC (1)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists