]> git.baikalelectronics.ru Git - kernel.git/commitdiff
cris: update comments for generic idle conversion
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 6 Jun 2014 21:38:32 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:18 +0000 (16:08 -0700)
As of commit d53db20654bf ("cris: Use generic idle loop"), cris no
longer provides cpu_idle().

- On cris-v10, etrax_gpio_wake_up_check() is called from default_idle()
  instead of cpu_idle(),

- On cris-v32, etrax_gpio_wake_up_check() is not called from
  default_idle(), so remove this (copy-and-paste?) part.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/cris/arch-v10/drivers/gpio.c
arch/cris/arch-v32/drivers/mach-fs/gpio.c

index f4374bae4fb4e632a5f81102514efa4ec1477ed0..64285e0d348154c461bf79553b964417751a1126 100644 (file)
@@ -833,8 +833,8 @@ static int __init gpio_init(void)
        printk(KERN_INFO "ETRAX 100LX GPIO driver v2.5, (c) 2001-2008 "
                "Axis Communications AB\n");
        /* We call etrax_gpio_wake_up_check() from timer interrupt and
-        * from cpu_idle() in kernel/process.c
-        * The check in cpu_idle() reduces latency from ~15 ms to ~6 ms
+        * from default_idle() in kernel/process.c
+        * The check in default_idle() reduces latency from ~15 ms to ~6 ms
         * in some tests.
         */
        res = request_irq(TIMER0_IRQ_NBR, gpio_poll_timer_interrupt,
index 9e54273af0ca81dd4d95d462cdf869bd1d21e0f4..009f4ee1bd09535d8a6753462d1fff9c1d84f9fa 100644 (file)
@@ -958,11 +958,7 @@ gpio_init(void)
 
        printk(KERN_INFO "ETRAX FS GPIO driver v2.5, (c) 2003-2007 "
                "Axis Communications AB\n");
-       /* We call etrax_gpio_wake_up_check() from timer interrupt and
-        * from cpu_idle() in kernel/process.c
-        * The check in cpu_idle() reduces latency from ~15 ms to ~6 ms
-        * in some tests.
-        */
+       /* We call etrax_gpio_wake_up_check() from timer interrupt */
        if (request_irq(TIMER0_INTR_VECT, gpio_poll_timer_interrupt,
                        IRQF_SHARED, "gpio poll", &alarmlist))
                printk(KERN_ERR "timer0 irq for gpio\n");