mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
powerpc/qe_ic: Fix another breakage from the irq_data conversion
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
b3cf2bb3d5
commit
d4db35e8dc
@ -81,7 +81,7 @@ int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high);
|
||||
static inline void qe_ic_cascade_low_ipic(unsigned int irq,
|
||||
struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = get_irq_desc_data(desc);
|
||||
struct qe_ic *qe_ic = irq_desc_get_chip_data(desc);
|
||||
unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic);
|
||||
|
||||
if (cascade_irq != NO_IRQ)
|
||||
@ -91,7 +91,7 @@ static inline void qe_ic_cascade_low_ipic(unsigned int irq,
|
||||
static inline void qe_ic_cascade_high_ipic(unsigned int irq,
|
||||
struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = get_irq_desc_data(desc);
|
||||
struct qe_ic *qe_ic = irq_desc_get_chip_data(desc);
|
||||
unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic);
|
||||
|
||||
if (cascade_irq != NO_IRQ)
|
||||
@ -101,9 +101,9 @@ static inline void qe_ic_cascade_high_ipic(unsigned int irq,
|
||||
static inline void qe_ic_cascade_low_mpic(unsigned int irq,
|
||||
struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = get_irq_desc_data(desc);
|
||||
struct qe_ic *qe_ic = irq_desc_get_chip_data(desc);
|
||||
unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic);
|
||||
struct irq_chip *chip = get_irq_desc_chip(desc);
|
||||
struct irq_chip *chip = irq_desc_get_chip(desc);
|
||||
|
||||
if (cascade_irq != NO_IRQ)
|
||||
generic_handle_irq(cascade_irq);
|
||||
@ -114,9 +114,9 @@ static inline void qe_ic_cascade_low_mpic(unsigned int irq,
|
||||
static inline void qe_ic_cascade_high_mpic(unsigned int irq,
|
||||
struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = get_irq_desc_data(desc);
|
||||
struct qe_ic *qe_ic = irq_desc_get_chip_data(desc);
|
||||
unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic);
|
||||
struct irq_chip *chip = get_irq_desc_chip(desc);
|
||||
struct irq_chip *chip = irq_desc_get_chip(desc);
|
||||
|
||||
if (cascade_irq != NO_IRQ)
|
||||
generic_handle_irq(cascade_irq);
|
||||
@ -127,9 +127,9 @@ static inline void qe_ic_cascade_high_mpic(unsigned int irq,
|
||||
static inline void qe_ic_cascade_muxed_mpic(unsigned int irq,
|
||||
struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = get_irq_desc_data(desc);
|
||||
struct qe_ic *qe_ic = irq_desc_get_chip_data(desc);
|
||||
unsigned int cascade_irq;
|
||||
struct irq_chip *chip = get_irq_desc_chip(desc);
|
||||
struct irq_chip *chip = irq_desc_get_chip(desc);
|
||||
|
||||
cascade_irq = qe_ic_get_high_irq(qe_ic);
|
||||
if (cascade_irq == NO_IRQ)
|
||||
|
Loading…
Reference in New Issue
Block a user