Re: [PATCH] x86_64: fix section warning about enable_IO_APIC and setup_local_APIC

Ingo Molnar
2007-12-30T21:30:21Z

* Yinghai Lu <Yinghai.Lu@Sun.COM> 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