diff options
author | Rakib Mullick <[email protected]> | 2017-11-01 10:14:51 +0600 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-11-01 09:56:39 +0100 |
commit | 10d94ff4d558b96bfc4f55bb0051ae4d938246fe (patch) | |
tree | 085380478ecf3b36877934d3161028312cc27c48 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 16c0890dc66d258fdeccf7b15a133f3930b19143 (diff) |
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 <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions