mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08:00
57a1a19763
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 <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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
114 lines
1.7 KiB
Plaintext
114 lines
1.7 KiB
Plaintext
menu "Machine selection"
|
|
|
|
config SCORE
|
|
def_bool y
|
|
select HAVE_GENERIC_HARDIRQS
|
|
select GENERIC_IRQ_SHOW
|
|
select GENERIC_IOMAP
|
|
select GENERIC_ATOMIC64
|
|
select HAVE_MEMBLOCK
|
|
select HAVE_MEMBLOCK_NODE_MAP
|
|
select ARCH_DISCARD_MEMBLOCK
|
|
select GENERIC_CPU_DEVICES
|
|
select GENERIC_CLOCKEVENTS
|
|
select HAVE_MOD_ARCH_SPECIFIC
|
|
select VIRT_TO_BUS
|
|
select MODULES_USE_ELF_REL
|
|
select CLONE_BACKWARDS
|
|
|
|
choice
|
|
prompt "System type"
|
|
default MACH_SPCT6600
|
|
|
|
config ARCH_SCORE7
|
|
bool "SCORE7 processor"
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select CPU_SCORE7
|
|
select GENERIC_HAS_IOMAP
|
|
|
|
config MACH_SPCT6600
|
|
bool "SPCT6600 series based machines"
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select CPU_SCORE7
|
|
select GENERIC_HAS_IOMAP
|
|
|
|
config SCORE_SIM
|
|
bool "Score simulator"
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select CPU_SCORE7
|
|
select GENERIC_HAS_IOMAP
|
|
endchoice
|
|
|
|
endmenu
|
|
|
|
config CPU_SCORE7
|
|
bool
|
|
|
|
config NO_DMA
|
|
bool
|
|
default y
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
def_bool y
|
|
|
|
config GENERIC_HWEIGHT
|
|
def_bool y
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
def_bool y
|
|
|
|
menu "Kernel type"
|
|
|
|
config 32BIT
|
|
def_bool y
|
|
|
|
config ARCH_FLATMEM_ENABLE
|
|
def_bool y
|
|
|
|
source "mm/Kconfig"
|
|
|
|
config MEMORY_START
|
|
hex
|
|
default 0xa0000000
|
|
|
|
source "kernel/Kconfig.hz"
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
endmenu
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
def_bool y
|
|
|
|
config LOCKDEP_SUPPORT
|
|
def_bool y
|
|
|
|
config STACKTRACE_SUPPORT
|
|
def_bool y
|
|
|
|
source "init/Kconfig"
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
config MMU
|
|
def_bool y
|
|
|
|
menu "Executable file formats"
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
endmenu
|
|
|
|
source "net/Kconfig"
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
source "fs/Kconfig"
|
|
|
|
source "arch/score/Kconfig.debug"
|
|
|
|
source "security/Kconfig"
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
source "lib/Kconfig"
|