Re: [PATCH] arch: c6x: kernel: include "linux/console.h" when 'VT'and 'DUMMY_CONSOLE' enabled.
From: Chen Gang
Date: Tue Jun 25 2013 - 03:35:22 EST
On 06/25/2013 03:06 PM, Geert Uytterhoeven wrote:
> 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 :-(
Hmm..., I use:
[root@dhcp122 linux-next]# rpm -qf /usr/bin/c6x-linux-gnu-gcc
gcc-c6x-linux-gnu-4.7.1-0.1.20120606.fc17.x86_64
When fix the 3 compiling issues, it almost can pass compiling: during
compiled to fs subsystem, I stopped compilation manually.
Thanks.
--
Chen Gang
Asianux Corporation
--
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/