diff options
| author | Anmin Hsu <anmin.hsu@mediatek.com> | 2015-09-19 05:03:41 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2016-12-25 15:00:18 +0100 |
| commit | 1ae177b9a4552ff26502fd7c8fad8c9e881a99ce (patch) | |
| tree | cf9dd18a4b870493aea4e7b04c2c5fd8089d1788 /include/linux | |
| parent | a0ef58576b6ee834582e2583f81c2c3a5e586673 (diff) | |
KSM: mediatek: implement Adaptive KSM
[Detail] implement Adaptive KSM
[Solution] implement Adaptive KSM
[Feature] Adaptive KSM
MTK-Commit-Id: 39cab34ba6273f932a61698513284383dc6bb3bc
Change-Id: I844434ef2d1159fea0f0c265d05a0e118cf618f6
Signed-off-by: Casper Li <casper.li@mediatek.com>
CR-Id: ALPS02298405
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ksm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ksm.h b/include/linux/ksm.h index c7de7a78e..55a8443f0 100644 --- a/include/linux/ksm.h +++ b/include/linux/ksm.h @@ -92,6 +92,14 @@ static inline void ksm_exit(struct mm_struct *mm) } #endif /* !CONFIG_UKSM */ +/*add for charing detect*/ +typedef enum { + KAL_FALSE = 0, + KAL_TRUE = 1, +} kal_bool; + +kal_bool bat_is_charger_exist(void); + #else /* !CONFIG_KSM */ static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) |
