mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
f911d73105
futex_atomic_cmpxchg_inatomic() does not work on UML because it triggers a copy_from_user() in kernel context. On UML copy_from_user() can only be used if the kernel was called by a real user space process such that UML can use ptrace() to fetch the value. Reported-by: Miklos Szeredi <miklos@szeredi.hu> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Richard Weinberger <richard@nod.at> Tested-by: Daniel Walter <d.walter@0x90.at>
62 lines
722 B
Plaintext
62 lines
722 B
Plaintext
config UML
|
|
bool
|
|
default y
|
|
select HAVE_ARCH_AUDITSYSCALL
|
|
select HAVE_UID16
|
|
select HAVE_FUTEX_CMPXCHG if FUTEX
|
|
select GENERIC_IRQ_SHOW
|
|
select GENERIC_CPU_DEVICES
|
|
select GENERIC_IO
|
|
select GENERIC_CLOCKEVENTS
|
|
select TTY # Needed for line.c
|
|
|
|
config MMU
|
|
bool
|
|
default y
|
|
|
|
config NO_IOMEM
|
|
def_bool y
|
|
|
|
config ISA
|
|
bool
|
|
|
|
config SBUS
|
|
bool
|
|
|
|
config PCI
|
|
bool
|
|
|
|
config PCMCIA
|
|
bool
|
|
|
|
# Yet to do!
|
|
config TRACE_IRQFLAGS_SUPPORT
|
|
bool
|
|
default n
|
|
|
|
config LOCKDEP_SUPPORT
|
|
bool
|
|
default y
|
|
|
|
config STACKTRACE_SUPPORT
|
|
bool
|
|
default y
|
|
select STACKTRACE
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
bool
|
|
default y
|
|
|
|
config GENERIC_BUG
|
|
bool
|
|
default y
|
|
depends on BUG
|
|
|
|
config HZ
|
|
int
|
|
default 100
|
|
|
|
config SUBARCH
|
|
string
|
|
option env="SUBARCH"
|