Re: [PATCH] i386: export genapic again

From: Jan Beulich
Date: Tue Nov 08 2005 - 08:21:40 EST


>>> Arjan van de Ven <arjan@xxxxxxxxxxxxx> 08.11.05 14:08:09 >>>
>On Tue, 2005-11-08 at 13:57 +0100, Jan Beulich wrote:
>> A change not too long ago made i386's genapic symbol no longer be
>> exported, and thus certain low-level functions no longer be usable.
>> Since close-to-the-hardware code may still be modular, this
>> rectifies the situation.
>>
>> From: Jan Beulich <jbeulich@xxxxxxxxxx>
>>
>> (actual patch attached)
>>
>
>+#define APIC_DEFINITION 1
>
>what is that for?

For making the whole thing build: asm/smp.h and
asm/mach-generic/apicdef.h contain some constructs that result in build
failures when visible to some of the files that actually implement
(parts of) the APIC stuff. For this specific file,
hard_smp_processor_id() would otherwise be defined twice.

Jan


-
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/