kernel/time/tick-common.c: Switch off UNDER_HYPERVISOR for ARM
authorEvgeny Voevodin <e.voevodin@samsung.com>
Thu, 7 Jun 2012 09:21:53 +0000 (13:21 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 14 Sep 2012 05:42:19 +0000 (09:42 +0400)
On ARM machine slow timer tick compensation significantly slows
down amulation.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
kernel/time/tick-common.c

index 5b444c57b5c1f8f33b6be13e26969fbf3a48593c..627a0959de363ad046501c80b387caa614eb7467 100644 (file)
@@ -60,7 +60,9 @@ int tick_is_oneshot_available(void)
 /*
  * Periodic tick
  */
+#ifndef CONFIG_ARM
 #define UNDER_HYPERVISOR
+#endif
 static void tick_periodic(int cpu)
 {
        if (tick_do_timer_cpu == cpu) {