diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-23 04:19:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 10:34:07 -0800 |
commit | a8c8a36736c00b261fd5dd01400c41726f2f19eb (patch) | |
tree | 8b84efce27ce09fe5c9bc9d0613ace3ed9d90c5a /arch/x86_64/kernel/genapic_flat.c | |
parent | a27bc06dd8ee6ad6394e8a76345660b93621b51b (diff) |
[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 <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86_64/kernel/genapic_flat.c')
0 files changed, 0 insertions, 0 deletions