projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b4941
)
kernel/time/tick-common.c: Switch off UNDER_HYPERVISOR for ARM
author
Evgeny Voevodin
<e.voevodin@samsung.com>
Thu, 7 Jun 2012 09:21:53 +0000
(13:21 +0400)
committer
Evgeny 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
patch
|
blob
|
history
diff --git
a/kernel/time/tick-common.c
b/kernel/time/tick-common.c
index 5b444c57b5c1f8f33b6be13e26969fbf3a48593c..627a0959de363ad046501c80b387caa614eb7467 100644
(file)
--- a/
kernel/time/tick-common.c
+++ b/
kernel/time/tick-common.c
@@
-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) {