aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2017-11-01 10:14:51 +0600
committerIngo Molnar <mingo@kernel.org>2017-11-01 09:56:39 +0100
commit10d94ff4d558b96bfc4f55bb0051ae4d938246fe (patch)
tree085380478ecf3b36877934d3161028312cc27c48 /drivers/irqchip
parentirq/work: Don't reinvent the wheel but use existing llist API (diff)
downloadlinux-dev-10d94ff4d558b96bfc4f55bb0051ae4d938246fe.tar.xz
linux-dev-10d94ff4d558b96bfc4f55bb0051ae4d938246fe.zip
irq/core: Fix boot crash when the irqaffinity= boot parameter is passed on CPUMASK_OFFSTACK=y kernels(v1)
When the irqaffinity= kernel parameter is passed in a CPUMASK_OFFSTACK=y kernel, it fails to boot, because zalloc_cpumask_var() cannot be used before initializing the slab allocator to allocate a cpumask. So, use alloc_bootmem_cpumask_var() instead. Also do some cleanups while at it: in init_irq_default_affinity() remove an #ifdef via using cpumask_available(). Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20171026045800.27087-1-rakib.mullick@gmail.com Link: http://lkml.kernel.org/r/20171101041451.12581-1-rakib.mullick@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions