2019-06-24 07:22:55 -07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
2020-02-06 20:57:53 -08:00
|
|
|
* Copyright (C) 2019-2020 Sultan Alsawaf <sultan@kerneltoast.com>.
|
2019-06-24 07:22:55 -07:00
|
|
|
*/
|
|
|
|
#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);
|
2022-05-24 21:54:28 +09:00
|
|
|
void simple_lmk_trigger(void);
|
2019-06-24 07:22:55 -07:00
|
|
|
#else
|
|
|
|
static inline void simple_lmk_mm_freed(struct mm_struct *mm)
|
|
|
|
{
|
|
|
|
}
|
2022-05-24 21:54:28 +09:00
|
|
|
static inline void simple_lmk_trigger(void)
|
|
|
|
{
|
|
|
|
}
|
2019-06-24 07:22:55 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _SIMPLE_LMK_H_ */
|