Commit 57a1a197 authored by Chen Gang's avatar Chen Gang Committed by Linus Torvalds

arch: *: Kconfig: add "kernel/Kconfig.freezer" to "arch/*/Kconfig"

All architectures include "kernel/Kconfig.freezer" except three left, so
let them include it too, or 'allmodconfig' will report error.

The related errors: (with allmodconfig for openrisc):

    CC      kernel/cgroup_freezer.o
  kernel/cgroup_freezer.c: In function 'freezer_css_online':
  kernel/cgroup_freezer.c:133:15: error: 'system_freezing_cnt' undeclared (first use in this function)
  kernel/cgroup_freezer.c:133: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:157:15: error: 'system_freezing_cnt' undeclared (first use in this function)
  kernel/cgroup_freezer.c: In function 'freezer_attach':
  kernel/cgroup_freezer.c:200:4: error: implicit declaration of function 'freeze_task'
  kernel/cgroup_freezer.c: In function 'freezer_apply_state':
  kernel/cgroup_freezer.c:371:16: error: 'system_freezing_cnt' undeclared (first use in this function)
Signed-off-by: default avatarChen Gang <gang.chen@asianux.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d6394b59
...@@ -158,6 +158,7 @@ source "kernel/Kconfig.hz" ...@@ -158,6 +158,7 @@ source "kernel/Kconfig.hz"
endmenu endmenu
source "init/Kconfig" source "init/Kconfig"
source "kernel/Kconfig.freezer"
source "drivers/Kconfig" source "drivers/Kconfig"
source "fs/Kconfig" source "fs/Kconfig"
......
...@@ -55,6 +55,7 @@ config GENERIC_CSUM ...@@ -55,6 +55,7 @@ config GENERIC_CSUM
source "init/Kconfig" source "init/Kconfig"
source "kernel/Kconfig.freezer"
menu "Processor type and features" menu "Processor type and features"
......
...@@ -87,6 +87,8 @@ config STACKTRACE_SUPPORT ...@@ -87,6 +87,8 @@ config STACKTRACE_SUPPORT
source "init/Kconfig" source "init/Kconfig"
source "kernel/Kconfig.freezer"
config MMU config MMU
def_bool y def_bool y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment