summaryrefstree
path: root/kernel/mm/sec_mm/sec_mm_init.c
blob: 9921eb5da9f7e73b722004e5478391fa43fe3f90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SPDX-License-Identifier: GPL-2.0
/*
 * sec_mm/
 *
 * Copyright (C) 2020 Samsung Electronics
 *
 */

#include <linux/module.h>
#include "sec_mm.h"

static int __init sec_mm_init(void)
{
	init_lowfile_detect();
	init_panic_hander();
	pr_info("sec_mm init was done\n");
	return 0;
}

static void __exit sec_mm_exit(void)
{
	exit_lowfile_detect();
	exit_panic_hander();
}

module_init(sec_mm_init);
module_exit(sec_mm_exit);

MODULE_LICENSE("GPL");