From: Thomas Bogendoerfer Date: Tue, 30 Jul 2013 00:02:16 +0000 (+0200) Subject: parisc: Fix interrupt routing for C8000 serial ports X-Git-Tag: v3.11-rc4~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd5e6d6a3db09b16b7c222943977865eead88cc3;p=pandora-kernel.git parisc: Fix interrupt routing for C8000 serial ports We can't use dev->mod_index for selecting the interrupt routing entry, because it's not an index into interrupt routing table. It will be even wrong on a machine with 2 CPUs (4 cores). But all needed information is contained in the PAT entries for the serial ports. mod[0] contains the iosapic address and mod_info has some indications for the interrupt input (at least it looks like it). This patch implements the searching for the right iosapic and uses this interrupt input information. Signed-off-by: Thomas Bogendoerfer Cc: # 3.10 Signed-off-by: Helge Deller --- Reading git-diff-tree failed