Patchwork [RFC,v2,7/7] vl: run power_management

login
register
mail settings
Submitter liguang
Date April 5, 2013, 4:28 a.m.
Message ID <1365136091-26148-8-git-send-email-lig.fnst@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/234034/
State New
Headers show

Comments

liguang - April 5, 2013, 4:28 a.m.
run power_management temporarily,
later, if this approach is accepted,
will try to replace main_loop_should_exit()

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
---
 vl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/vl.c b/vl.c
index a14549e..731158a 100644
--- a/vl.c
+++ b/vl.c
@@ -2041,6 +2041,7 @@  static void main_loop(void)
 #ifdef CONFIG_PROFILER
         dev_time += profile_getclock() - ti;
 #endif
+        power_management();
     } while (!main_loop_should_exit());
 }