Skip to content

Commit 5e19997

Browse files
committed
Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
Pull c6x arch fixes from Mark Salter: - Add __NR_kcmp to generic syscall list - C6X: Use generic asm/barrier.h * tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming: syscalls: add __NR_kcmp syscall to generic unistd.h c6x: use asm-generic/barrier.h
2 parents 7106891 + 11ef4cf commit 5e19997

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed

arch/c6x/include/asm/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include include/asm-generic/Kbuild.asm
22

33
generic-y += atomic.h
44
generic-y += auxvec.h
5+
generic-y += barrier.h
56
generic-y += bitsperlong.h
67
generic-y += bugs.h
78
generic-y += cputime.h

arch/c6x/include/asm/barrier.h

Lines changed: 0 additions & 27 deletions
This file was deleted.

include/asm-generic/unistd.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,11 @@ __SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \
691691
#define __NR_process_vm_writev 271
692692
__SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \
693693
compat_sys_process_vm_writev)
694+
#define __NR_kcmp 272
695+
__SYSCALL(__NR_kcmp, sys_kcmp)
694696

695697
#undef __NR_syscalls
696-
#define __NR_syscalls 272
698+
#define __NR_syscalls 273
697699

698700
/*
699701
* All syscalls below here should go away really,

0 commit comments

Comments
 (0)