967747bbc0
There are no remaining callers of set_fs(), so CONFIG_SET_FS can be removed globally, along with the thread_info field and any references to it. This turns access_ok() into a cheaper check against TASK_SIZE_MAX. As CONFIG_SET_FS is now gone, drop all remaining references to set_fs()/get_fs(), mm_segment_t, user_addr_max() and uaccess_kernel(). Acked-by: Sam Ravnborg <sam@ravnborg.org> # for sparc32 changes Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Tested-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> # for arc changes Acked-by: Stafford Horne <shorne@gmail.com> # [openrisc, asm-generic] Acked-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
50 lines
890 B
Plaintext
50 lines
890 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config H8300
|
|
def_bool y
|
|
select ARCH_32BIT_OFF_T
|
|
select ARCH_HAS_BINFMT_FLAT
|
|
select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
|
|
select BINFMT_FLAT_OLD_ALWAYS_RAM
|
|
select GENERIC_ATOMIC64
|
|
select HAVE_UID16
|
|
select VIRT_TO_BUS
|
|
select GENERIC_IRQ_SHOW
|
|
select FRAME_POINTER
|
|
select GENERIC_CPU_DEVICES
|
|
select MODULES_USE_ELF_RELA
|
|
select COMMON_CLK
|
|
select ARCH_WANT_FRAME_POINTERS
|
|
select OF
|
|
select OF_IRQ
|
|
select OF_EARLY_FLATTREE
|
|
select TIMER_OF
|
|
select H8300_TMR8
|
|
select HAVE_KERNEL_GZIP
|
|
select HAVE_KERNEL_LZO
|
|
select HAVE_ARCH_KGDB
|
|
select HAVE_ARCH_HASH
|
|
select CPU_NO_EFFICIENT_FFS
|
|
select UACCESS_MEMCPY
|
|
|
|
config CPU_BIG_ENDIAN
|
|
def_bool y
|
|
|
|
config GENERIC_HWEIGHT
|
|
def_bool y
|
|
|
|
config NO_IOPORT_MAP
|
|
def_bool y
|
|
|
|
config GENERIC_CSUM
|
|
def_bool y
|
|
|
|
config HZ
|
|
int
|
|
default 100
|
|
|
|
config NR_CPUS
|
|
int
|
|
default 1
|
|
|
|
source "arch/h8300/Kconfig.cpu"
|