diff options
Diffstat (limited to 'include/linux/irq.h')
| -rw-r--r-- | include/linux/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index c03243ad84b4..fff1d77c3753 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -439,12 +439,12 @@ extern int set_irq_msi(unsigned int irq, struct msi_desc *entry); | |||
| 439 | static inline bool alloc_desc_masks(struct irq_desc *desc, int node, | 439 | static inline bool alloc_desc_masks(struct irq_desc *desc, int node, |
| 440 | bool boot) | 440 | bool boot) |
| 441 | { | 441 | { |
| 442 | #ifdef CONFIG_CPUMASK_OFFSTACK | ||
| 442 | gfp_t gfp = GFP_ATOMIC; | 443 | gfp_t gfp = GFP_ATOMIC; |
| 443 | 444 | ||
| 444 | if (boot) | 445 | if (boot) |
| 445 | gfp = GFP_NOWAIT; | 446 | gfp = GFP_NOWAIT; |
| 446 | 447 | ||
| 447 | #ifdef CONFIG_CPUMASK_OFFSTACK | ||
| 448 | if (!alloc_cpumask_var_node(&desc->affinity, gfp, node)) | 448 | if (!alloc_cpumask_var_node(&desc->affinity, gfp, node)) |
| 449 | return false; | 449 | return false; |
| 450 | 450 | ||
