]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64 irq: Simplify assign_irq_vector's arguments.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 23 Feb 2007 11:35:05 +0000 (04:35 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 26 Feb 2007 18:34:08 +0000 (10:34 -0800)
commitdfbffdd81c5d029ca8f8a754ce0eb8199c418eba
tree31858110fa5535e9e089c52e32ba31151158ed4d
parent13a79503ab4a0f602c6806b2572b3338994b55d2
[PATCH] x86_64 irq: Simplify assign_irq_vector's arguments.

Currently assign_irq_vector works mostly by side effect and returns
the results of it's changes to the caller.  Which makes for a lot of
arguments to pass/return and confusion as to what to do if you need
the status but you aren't calling assign_irq_vector.

This patch stops returning values from assign_irq_vector that can be
retrieved just as easily by examining irq_cfg, and modifies the
callers to retrive those values from irq_cfg when they need them.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/io_apic.c