cpumask fallout: Initialize irq_default_affinity earlier
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 27 Jan 2009 17:53:22 +0000 (09:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 Jan 2009 00:06:55 +0000 (16:06 -0800)
commit97179fd46da7ddedd18e95388130ed3e06c5a0c7
tree8d1a56e41345244d36a9d943a69c5ecf76942816
parent1267a8df209c7453d65acbdd56e3588954bf890b
cpumask fallout: Initialize irq_default_affinity earlier

Move the initialization of irq_default_affinity to early_irq_init as
core_initcall is too late.

irq_default_affinity can be used in init_IRQ and potentially timer and
SMP init as well.  All of these happen before core_initcall.  Moving
the initialization to early_irq_init ensures that it is initialized
before it is used.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: Mike Travis <travis@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/handle.c
kernel/irq/manage.c