Re: [PATCH] x86_64: fix section warning about enable_IO_APIC andsetup_local_APIC

From: Ingo Molnar
Date: Sun Dec 30 2007 - 16:30:21 EST



* Yinghai Lu <Yinghai.Lu@xxxxxxx> wrote:

> [PATCH] x86_64: fix section warning about enable_IO_APIC and setup_local_APIC
>
> clear IO_APIC before enabing apic error vector cause link warning
>
> use function call in setup_local_APIC to avoid that.

as i said, this just works around the link warning - now we've traded
the link warning for a runtime crash.

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