irq: use GFP_KERNEL for action allocation in request_irq()
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 13 Feb 2009 03:38:04 +0000 (04:38 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Feb 2009 09:52:07 +0000 (10:52 +0100)
commit0e43785c57fee50fbc00ea0378e941efb61fa0c2
treef90ec1d34d987a48707fe455534f16b191702f8a
parent74296a8ed6aa3c5bf672808ada690de7ba323ecc
irq: use GFP_KERNEL for action allocation in request_irq()

request_irq() calls into proc code via __setup_irq() which is not safe
in an atomic context, so request_irq() can itself use the more
reliable GFP_KERNEL allocation for the action descriptor.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/manage.c