]> err.no Git - linux-2.6/commit
[PATCH] x86-64: Extend clear_irq_vector
authorYinghai Lu <yinghai.lu@amd.com>
Thu, 7 Dec 2006 01:14:05 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:05 +0000 (02:14 +0100)
commit5df0287ecc4f53e68bbd188fa8258b555e6b734f
tree78c390a8527ce17b462c80e4452eb5c72c86974a
parent3760dd6efa75c98e223643da2eb7040406433053
[PATCH] x86-64: Extend clear_irq_vector

Clear the irq releated entries in irq_vector, irq_domain and vector_irq
instead of clearing irq_vector only. So when new irq is created, it
could reuse that vector. (actually is the second loop scanning from
FIRST_DEVICE_VECTOR+8). This could avoid the vectors are used up
with enough module inserting and removing

Cc: Eric W. Biedierman <ebiederm@xmission.com>
Cc: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-By: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/io_apic.c