linux_dsm_epyc7002/arch/nds32
Greentime Hu 6ca4b262db nds32: Fix building error when CONFIG_FREEZE is enabled.
To include kernel/Kconfig.freezer to make sure the dependency between
CONFIG_CGROUP_FREEZER and CONFIG_FREEZER

It will cause building error when I make allmodconfig.

kernel/cgroup/freezer.c: In function 'freezer_css_online':
kernel/cgroup/freezer.c:116:15: error: 'system_freezing_cnt' undeclared (first use in this function)
   atomic_inc(&system_freezing_cnt);
               ^~~~~~~~~~~~~~~~~~~
kernel/cgroup/freezer.c:116:15: note: each undeclared identifier is reported only once for each function it appears in
kernel/cgroup/freezer.c: In function 'freezer_css_offline':
kernel/cgroup/freezer.c:137:15: error: 'system_freezing_cnt' undeclared (first use in this function)
   atomic_dec(&system_freezing_cnt);
               ^~~~~~~~~~~~~~~~~~~
kernel/cgroup/freezer.c: In function 'freezer_attach':
kernel/cgroup/freezer.c:181:4: error: implicit declaration of function 'freeze_task' [-Werror=implicit-function-declaration]
    freeze_task(task);
    ^~~~~~~~~~~
kernel/cgroup/freezer.c: In function 'freezer_apply_state':
kernel/cgroup/freezer.c:360:16: error: 'system_freezing_cnt' undeclared (first use in this function)
    atomic_inc(&system_freezing_cnt);
                ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2018-05-23 13:26:20 +08:00
..
boot nds32: Build infrastructure 2018-02-22 10:44:35 +08:00
configs nds32: defconfig 2018-02-22 10:44:35 +08:00
include page cache: use xa_lock 2018-04-11 10:28:39 -07:00
kernel nds32: To use the generic dump_stack() 2018-03-16 15:45:23 +08:00
lib nds32: Library functions 2018-02-22 10:44:33 +08:00
mm nds32: Build infrastructure 2018-02-22 10:44:35 +08:00
Kconfig nds32: Fix building error when CONFIG_FREEZE is enabled. 2018-05-23 13:26:20 +08:00
Kconfig.cpu nds32: Build infrastructure 2018-02-22 10:44:35 +08:00
Makefile nds32: lib: To use generic lib instead of libgcc to prevent the symbol undefined issue. 2018-05-23 13:26:20 +08:00