From: Eric W. Biederman Date: Fri, 23 Feb 2007 11:19:08 +0000 (-0700) Subject: [PATCH] x86_64 irq: Refactor setup_IO_APIC_irq X-Git-Tag: v2.6.21-rc2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c8a36736c00b261fd5dd01400c41726f2f19eb;p=pandora-kernel.git [PATCH] x86_64 irq: Refactor setup_IO_APIC_irq Currently we have two routines that do practically the same thing setup_IO_APIC_irq and io_apic_set_pci_routing. This patch makes setup_IO_APIC_irq the common factor of these two previous routines. For setup_IO_APIC_irq all that was needed was to pass the trigger and polarity to make the code a proper subset of io_apic_set_pci_routing. Hopefully consolidating these two routines will improve maintenance there were several differences that simply appear to be one routine or the other getting it wrong. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed