Skip to content

Commit

Permalink
arch: *: Kconfig: add "kernel/Kconfig.freezer" to "arch/*/Kconfig"
Browse files Browse the repository at this point in the history
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: Chen Gang <[email protected]>
Cc: Richard Kuo <[email protected]>
Cc: Jonas Bonn <[email protected]>
Cc: Chen Liqin <[email protected]>
Cc: Lennox Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Chen Gang authored and torvalds committed Aug 14, 2013
1 parent d6394b5 commit 57a1a19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/hexagon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ source "kernel/Kconfig.hz"
endmenu

source "init/Kconfig"
source "kernel/Kconfig.freezer"
source "drivers/Kconfig"
source "fs/Kconfig"

Expand Down
1 change: 1 addition & 0 deletions arch/openrisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ config GENERIC_CSUM

source "init/Kconfig"

source "kernel/Kconfig.freezer"

menu "Processor type and features"

Expand Down
2 changes: 2 additions & 0 deletions arch/score/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ config STACKTRACE_SUPPORT

source "init/Kconfig"

source "kernel/Kconfig.freezer"

config MMU
def_bool y

Expand Down

0 comments on commit 57a1a19

Please sign in to comment.