diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-10-01 06:58:38 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-04 06:36:26 -0400 |
commit | 6b8ff3120c758340505dddf08ad685ebb841d5d5 (patch) | |
tree | 794eed27c6f9a8931b8fdf4a7ae60a1560b237fc /include | |
parent | ff7dcd44dd446db2c3e13bdedf2d52b8e0127f16 (diff) |
genirq: Convert core code to irq_data
Convert all references in the core code to orq, chip, handler_data,
chip_data, msi_desc, affinity to irq_data.*
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irq.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 363c76ff82c8..002351d83c3f 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -475,12 +475,12 @@ static inline bool alloc_desc_masks(struct irq_desc *desc, int node, | |||
475 | gfp = GFP_NOWAIT; | 475 | gfp = GFP_NOWAIT; |
476 | 476 | ||
477 | #ifdef CONFIG_CPUMASK_OFFSTACK | 477 | #ifdef CONFIG_CPUMASK_OFFSTACK |
478 | if (!alloc_cpumask_var_node(&desc->affinity, gfp, node)) | 478 | if (!alloc_cpumask_var_node(&desc->irq_data.affinity, gfp, node)) |
479 | return false; | 479 | return false; |
480 | 480 | ||
481 | #ifdef CONFIG_GENERIC_PENDING_IRQ | 481 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
482 | if (!alloc_cpumask_var_node(&desc->pending_mask, gfp, node)) { | 482 | if (!alloc_cpumask_var_node(&desc->pending_mask, gfp, node)) { |
483 | free_cpumask_var(desc->affinity); | 483 | free_cpumask_var(desc->irq_data.affinity); |
484 | return false; | 484 | return false; |
485 | } | 485 | } |
486 | #endif | 486 | #endif |
@@ -490,7 +490,7 @@ static inline bool alloc_desc_masks(struct irq_desc *desc, int node, | |||
490 | 490 | ||
491 | static inline void init_desc_masks(struct irq_desc *desc) | 491 | static inline void init_desc_masks(struct irq_desc *desc) |
492 | { | 492 | { |
493 | cpumask_setall(desc->affinity); | 493 | cpumask_setall(desc->irq_data.affinity); |
494 | #ifdef CONFIG_GENERIC_PENDING_IRQ | 494 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
495 | cpumask_clear(desc->pending_mask); | 495 | cpumask_clear(desc->pending_mask); |
496 | #endif | 496 | #endif |
@@ -510,7 +510,7 @@ static inline void init_copy_desc_masks(struct irq_desc *old_desc, | |||
510 | struct irq_desc *new_desc) | 510 | struct irq_desc *new_desc) |
511 | { | 511 | { |
512 | #ifdef CONFIG_CPUMASK_OFFSTACK | 512 | #ifdef CONFIG_CPUMASK_OFFSTACK |
513 | cpumask_copy(new_desc->affinity, old_desc->affinity); | 513 | cpumask_copy(new_desc->irq_data.affinity, old_desc->irq_data.affinity); |
514 | 514 | ||
515 | #ifdef CONFIG_GENERIC_PENDING_IRQ | 515 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
516 | cpumask_copy(new_desc->pending_mask, old_desc->pending_mask); | 516 | cpumask_copy(new_desc->pending_mask, old_desc->pending_mask); |
@@ -521,7 +521,7 @@ static inline void init_copy_desc_masks(struct irq_desc *old_desc, | |||
521 | static inline void free_desc_masks(struct irq_desc *old_desc, | 521 | static inline void free_desc_masks(struct irq_desc *old_desc, |
522 | struct irq_desc *new_desc) | 522 | struct irq_desc *new_desc) |
523 | { | 523 | { |
524 | free_cpumask_var(old_desc->affinity); | 524 | free_cpumask_var(old_desc->irq_data.affinity); |
525 | 525 | ||
526 | #ifdef CONFIG_GENERIC_PENDING_IRQ | 526 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
527 | free_cpumask_var(old_desc->pending_mask); | 527 | free_cpumask_var(old_desc->pending_mask); |