msm-4.14/include/linux/simple_lmk.h
Juhyung Park 1e9a1be8f8
simple_lmk: expose simple_lmk_trigger()
vmpressure won't be the only external caller.

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-07-01 16:55:28 +00:00

23 lines
447 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2019-2020 Sultan Alsawaf <sultan@kerneltoast.com>.
*/
#ifndef _SIMPLE_LMK_H_
#define _SIMPLE_LMK_H_
struct mm_struct;
#ifdef CONFIG_ANDROID_SIMPLE_LMK
void simple_lmk_mm_freed(struct mm_struct *mm);
void simple_lmk_trigger(void);
#else
static inline void simple_lmk_mm_freed(struct mm_struct *mm)
{
}
static inline void simple_lmk_trigger(void)
{
}
#endif
#endif /* _SIMPLE_LMK_H_ */