From: Thomas Gleixner Date: Thu, 15 Jan 2015 21:22:32 +0000 (+0000) Subject: x86/ioapic: Add proper checks to setp/enable_IO_APIC() X-Git-Tag: fixes-v4.0-rc1~177^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46f5c89274245e42834dc976896444efd53ccdc;p=pandora-kernel.git x86/ioapic: Add proper checks to setp/enable_IO_APIC() No point to have the same checks at every call site. Add them to the functions, so they can be called unconditionally. Signed-off-by: Thomas Gleixner Acked-by: Borislav Petkov Cc: Jiang Liu Cc: Joerg Roedel Cc: Tony Luck Link: http://lkml.kernel.org/r/20150115211703.490719938@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed