Re: [PATCH] arch: c6x: kernel: include "linux/console.h" when 'VT'and 'DUMMY_CONSOLE' enabled.

From: Geert Uytterhoeven
Date: Tue Jun 25 2013 - 03:06:22 EST


On Tue, Jun 25, 2013 at 3:58 AM, Chen Gang <gang.chen@xxxxxxxxxxx> wrote:
> Need include "linux/console.h" when 'VT' and 'DUMMY_CONSOLE' enabled
> (e.g allmodconfig).
>
> The related error:
> arch/c6x/kernel/setup.c: In function âsetup_archâ:
> arch/c6x/kernel/setup.c:442:2: error: âconswitchpâ undeclared (first use in this function)
> arch/c6x/kernel/setup.c:442:2: note: each undeclared identifier is reported only once for each function it appears in
> arch/c6x/kernel/setup.c:442:16: error: âdummy_conâ undeclared (first use in this function)

Ah, so you managed to obtain a c6x toolchain. There's none at
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/ yet :-(

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/