]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
x86: Add dummy functions for compiling without IOAPIC
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 22 Feb 2011 14:38:06 +0000 (15:38 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 23 Feb 2011 10:38:46 +0000 (11:38 +0100)
commit7d0f1926131cf79aa5998d463bf1582156e7b41e
treea0ffca6d8e940aa54cf355937d8701b9e9a8ad97
parent7167d08e780a722fa79ea414fc4e72bc00751392
x86: Add dummy functions for compiling without IOAPIC

This patch adds IOAPIC dummy functions for compilation
with local APIC, but without IOAPIC.

The local variable ioapic_entries in enable_IR_x2apic()
does not need initialization anymore, since the dummy
returns NULL.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
LKML-Reference: <1298385487-4708-4-git-send-email-henne@nachtwindheim.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/apic.c