Blackfin: use proper wrapper functions for modifying irq status
authorThomas Gleixner <tglx@linutronix.de>
Sun, 6 Feb 2011 18:23:38 +0000 (18:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:08 +0000 (04:01 -0400)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf537/boards/cm_bf537e.c
arch/blackfin/mach-bf537/boards/cm_bf537u.c
arch/blackfin/mach-bf537/boards/tcm_bf537.c
arch/blackfin/mach-bf561/boards/cm_bf561.c

index 2c776e188a94403929f46e63870f7bc37669b346..d582b810e7a74b1bf3b0bd0a22946a3910845586 100644 (file)
@@ -775,7 +775,7 @@ static int __init cm_bf537e_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }
index 085661175ec7b0bc73922ce7d61c87dce387a828..cbb8098604c56834a520fe6885247be4220df3f7 100644 (file)
@@ -740,7 +740,7 @@ static int __init cm_bf537u_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }
index 0761b201abcab248d08483af8cb7946ddb124155..164a7e02c022ccdb2971899682d89653c94e3a15 100644 (file)
@@ -742,7 +742,7 @@ static int __init tcm_bf537_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }
index 3b67929d4c0a5c75c25c1e29c311b0656fcc23e7..87595cd38afe1edc0c0ac9bd2f366f21389187c3 100644 (file)
@@ -541,7 +541,7 @@ static int __init cm_bf561_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }