Subject: [Suggestion] ARM64:kernel: compiling issue for early_console.

From: [email-masked] (Chen Gang)
Date: Wed, 27 Mar 2013 20:02:57 +0800

On 2013?03?27? 19:55, Catalin Marinas wrote:
> On Wed, Mar 27, 2013 at 11:44:03AM +0000, Chen Gang wrote:
>> >   the error message:
>> >     arch/arm64/kernel/early_printk.c: At top level:
>> >     arch/arm64/kernel/early_printk.c:98:23: error: conflicting types for ?early_console?
>> >     In file included from arch/arm64/kernel/early_printk.c:20:0:
>> >     include/linux/console.h:145:24: note: previous declaration of ?early_console? was here
>> >     make[1]: *** [arch/arm64/kernel/early_printk.o] Error 1
>> >     make: *** [arch/arm64/kernel] Error 2
> Is this in linux-next? Mainline seems fine.

  yes, it is in next-20130326 at least :-)

> 
> I saw some patches from tglx on unifying the various early printk
> implementations, though not sure whether it's those patches causing it
> (in which case arm64 needs to be updated as well).

  maybe, but we need check the details to prove it :-)

  thanks.

-- 
Chen Gang

Asianux Corporation