(Note: Patch also attached because the inline version is certain to get line wrapped.) 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. Signed-off-by: Jan Beulich <[email protected]> diff -Npru 2.6.13/arch/i386/mach-generic/probe.c 2.6.13-i386-genapic/arch/i386/mach-generic/probe.c --- 2.6.13/arch/i386/mach-generic/probe.c 2005-08-29 01:41:01.000000000 +0200 +++ 2.6.13-i386-genapic/arch/i386/mach-generic/probe.c 2005-09-05 14:31:31.000000000 +0200 @@ -3,6 +3,7 @@ * * Generic x86 APIC driver probe layer. */ +#define APIC_DEFINITION 1 #include <linux/config.h> #include <linux/threads.h> #include <linux/cpumask.h> @@ -10,6 +11,7 @@ #include <linux/kernel.h> #include <linux/ctype.h> #include <linux/init.h> +#include <linux/module.h> #include <asm/fixmap.h> #include <asm/mpspec.h> #include <asm/apicdef.h> @@ -21,6 +23,7 @@ extern struct genapic apic_es7000; extern struct genapic apic_default; struct genapic *genapic = &apic_default; +EXPORT_SYMBOL(genapic); struct genapic *apic_probe[] __initdata = { &apic_summit,
Attachment:
linux-2.6.13-i386-genapic.patch
Description: Binary data
- Follow-Ups:
- Re: [PATCH] re-export genapic on i386
- From: Zwane Mwaikambo <[email protected]>
- Re: [PATCH] re-export genapic on i386
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] re-export genapic on i386
- Prev by Date: Re: 2.6.13-git7 strange system freeze
- Next by Date: Re: [PATCH] i386 CFI annotations
- Previous by thread: [PATCH] fix i386 condition to call nmi_watchdog_tick
- Next by thread: Re: [PATCH] re-export genapic on i386
- Index(es):