From: Thomas Gleixner Date: Sat, 29 Aug 2009 16:09:57 +0000 (+0200) Subject: x86: Distangle ioapic and i8259 X-Git-Tag: v2.6.32-rc1~629^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc07844a33734c4b2f32ef26d942d2f3ef9302ea;p=pandora-kernel.git x86: Distangle ioapic and i8259 The proposed Moorestown support patches use an extra feature flag mechanism to make the ioapic work w/o an i8259. There is a much simpler solution. Most i8259 specific functions are already called dependend on the irq number less than NR_IRQS_LEGACY. Replacing that constant by a read_mostly variable which can be set to 0 by the platform setup code allows us to achieve the same without any special feature flags. That trivial change allows us to proceed with MRST w/o doing a full blown overhaul of the ioapic code which would delay MRST unduly. Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed