aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v10')
-rw-r--r--arch/cris/arch-v10/drivers/gpio.c4
-rw-r--r--arch/cris/arch-v10/drivers/sync_serial.c4
-rw-r--r--arch/cris/arch-v10/kernel/time.c6
3 files changed, 6 insertions, 8 deletions
diff --git a/arch/cris/arch-v10/drivers/gpio.c b/arch/cris/arch-v10/drivers/gpio.c
index 609d5510410e..f4374bae4fb4 100644
--- a/arch/cris/arch-v10/drivers/gpio.c
+++ b/arch/cris/arch-v10/drivers/gpio.c
@@ -838,13 +838,13 @@ static int __init gpio_init(void)
838 * in some tests. 838 * in some tests.
839 */ 839 */
840 res = request_irq(TIMER0_IRQ_NBR, gpio_poll_timer_interrupt, 840 res = request_irq(TIMER0_IRQ_NBR, gpio_poll_timer_interrupt,
841 IRQF_SHARED | IRQF_DISABLED, "gpio poll", gpio_name); 841 IRQF_SHARED, "gpio poll", gpio_name);
842 if (res) { 842 if (res) {
843 printk(KERN_CRIT "err: timer0 irq for gpio\n"); 843 printk(KERN_CRIT "err: timer0 irq for gpio\n");
844 return res; 844 return res;
845 } 845 }
846 res = request_irq(PA_IRQ_NBR, gpio_interrupt, 846 res = request_irq(PA_IRQ_NBR, gpio_interrupt,
847 IRQF_SHARED | IRQF_DISABLED, "gpio PA", gpio_name); 847 IRQF_SHARED, "gpio PA", gpio_name);
848 if (res) 848 if (res)
849 printk(KERN_CRIT "err: PA irq for gpio\n"); 849 printk(KERN_CRIT "err: PA irq for gpio\n");
850 850
diff --git a/arch/cris/arch-v10/drivers/sync_serial.c b/arch/cris/arch-v10/drivers/sync_serial.c
index a1c498d18d31..04d39e0ca55d 100644
--- a/arch/cris/arch-v10/drivers/sync_serial.c
+++ b/arch/cris/arch-v10/drivers/sync_serial.c
@@ -580,7 +580,7 @@ static int sync_serial_open(struct inode *inode, struct file *file)
580 if (port == &ports[0]) { 580 if (port == &ports[0]) {
581 if (request_irq(8, 581 if (request_irq(8,
582 manual_interrupt, 582 manual_interrupt,
583 IRQF_SHARED | IRQF_DISABLED, 583 IRQF_SHARED,
584 "synchronous serial manual irq", 584 "synchronous serial manual irq",
585 &ports[0])) { 585 &ports[0])) {
586 printk(KERN_CRIT "Can't alloc " 586 printk(KERN_CRIT "Can't alloc "
@@ -590,7 +590,7 @@ static int sync_serial_open(struct inode *inode, struct file *file)
590 } else if (port == &ports[1]) { 590 } else if (port == &ports[1]) {
591 if (request_irq(8, 591 if (request_irq(8,
592 manual_interrupt, 592 manual_interrupt,
593 IRQF_SHARED | IRQF_DISABLED, 593 IRQF_SHARED,
594 "synchronous serial manual irq", 594 "synchronous serial manual irq",
595 &ports[1])) { 595 &ports[1])) {
596 printk(KERN_CRIT "Can't alloc " 596 printk(KERN_CRIT "Can't alloc "
diff --git a/arch/cris/arch-v10/kernel/time.c b/arch/cris/arch-v10/kernel/time.c
index fce7c541d70d..e6a722715a8d 100644
--- a/arch/cris/arch-v10/kernel/time.c
+++ b/arch/cris/arch-v10/kernel/time.c
@@ -178,13 +178,11 @@ timer_interrupt(int irq, void *dev_id)
178 return IRQ_HANDLED; 178 return IRQ_HANDLED;
179} 179}
180 180
181/* timer is IRQF_SHARED so drivers can add stuff to the timer irq chain 181/* timer is IRQF_SHARED so drivers can add stuff to the timer irq chain */
182 * it needs to be IRQF_DISABLED to make the jiffies update work properly
183 */
184 182
185static struct irqaction irq2 = { 183static struct irqaction irq2 = {
186 .handler = timer_interrupt, 184 .handler = timer_interrupt,
187 .flags = IRQF_SHARED | IRQF_DISABLED, 185 .flags = IRQF_SHARED,
188 .name = "timer", 186 .name = "timer",
189}; 187};
190 188