Skip to content

Commit 57a1a19

Browse files
Chen Gangtorvalds
authored andcommitted
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: 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]>
1 parent d6394b5 commit 57a1a19

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

arch/hexagon/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ source "kernel/Kconfig.hz"
158158
endmenu
159159

160160
source "init/Kconfig"
161+
source "kernel/Kconfig.freezer"
161162
source "drivers/Kconfig"
162163
source "fs/Kconfig"
163164

arch/openrisc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ config GENERIC_CSUM
5555

5656
source "init/Kconfig"
5757

58+
source "kernel/Kconfig.freezer"
5859

5960
menu "Processor type and features"
6061

arch/score/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ config STACKTRACE_SUPPORT
8787

8888
source "init/Kconfig"
8989

90+
source "kernel/Kconfig.freezer"
91+
9092
config MMU
9193
def_bool y
9294

0 commit comments

Comments
 (0)