diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-04-20 18:32:04 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2016-04-20 18:32:04 +0800 |
commit | 5bb941e49992b4a7dfcbd8021ebf29543274f6aa (patch) | |
tree | b03b4a0e1c131c0e3a4b671083fe8fbb3f44e70e | |
parent | 3ab9ffddb2e0cf20b5c27a0f2d03d1a614a171e0 (diff) | |
download | pm-qa-linaro-n-preview.tar.gz |
cpuidle/cpuidle_killer.c: remove declaration of adjtimexlinaro-n-preview
remove the declaration for adjtimex since it's supported
from Android N Preview
Change-Id: I2c937ea17329a74566d2c7b0103299c3fc390cea
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | cpuidle/cpuidle_killer.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cpuidle/cpuidle_killer.c b/cpuidle/cpuidle_killer.c index e0e81e8..3232922 100644 --- a/cpuidle/cpuidle_killer.c +++ b/cpuidle/cpuidle_killer.c @@ -4,19 +4,6 @@ #include <unistd.h> #include <sys/timex.h> #include <sys/time.h> -#ifdef ANDROID -/* -* As of 5.0.0, Bionic provides timex, but not the -* adjtimex interface. -* However, the kernel does. -*/ -#include <linux/timex.h> /* for struct timex */ -#include <asm/unistd.h> /* for __NR_adjtimex */ -static int adjtimex(struct timex *buf) -{ - return syscall(__NR_adjtimex, buf); -} -#endif #include <sys/types.h> #include <sys/wait.h> #include <sys/param.h> |