Skip to content

Commit 693a30b

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML fixes from Richard Weinberger: "Two fixes for UML regressions. Nothing exciting" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml: x86, um: actually mark system call tables readonly um: Skip futex_atomic_cmpxchg_inatomic() test
2 parents 4bf9636 + b485342 commit 693a30b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

arch/um/Kconfig.common

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ config UML
33
default y
44
select HAVE_ARCH_AUDITSYSCALL
55
select HAVE_UID16
6+
select HAVE_FUTEX_CMPXCHG if FUTEX
67
select GENERIC_IRQ_SHOW
78
select GENERIC_CPU_DEVICES
89
select GENERIC_IO

arch/x86/um/sys_call_table_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ typedef asmlinkage void (*sys_call_ptr_t)(void);
3434

3535
extern asmlinkage void sys_ni_syscall(void);
3636

37-
const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
37+
const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
3838
/*
3939
* Smells like a compiler bug -- it doesn't work
4040
* when the & below is removed.

arch/x86/um/sys_call_table_64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ typedef void (*sys_call_ptr_t)(void);
4747

4848
extern void sys_ni_syscall(void);
4949

50-
const sys_call_ptr_t sys_call_table[] __cacheline_aligned = {
50+
const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
5151
/*
5252
* Smells like a compiler bug -- it doesn't work
5353
* when the & below is removed.

0 commit comments

Comments
 (0)