Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56713
b: refs/heads/master
c: fd5d8bf
h: refs/heads/master
i:
  56711: 8011601
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed May 21, 2007
1 parent 2ba6bb6 commit a6886df
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85ee32d02901bfd2e287ac669709758e04d73c4d
refs/heads/master: fd5d8bf03a9843ec3cdb10c820f409aa04048b52
8 changes: 8 additions & 0 deletions trunk/arch/s390/kernel/compat_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -1682,3 +1682,11 @@ compat_sys_utimes_wrapper:
llgtr %r2,%r2 # char *
llgtr %r3,%r3 # struct compat_timeval *
jg compat_sys_utimes

.globl compat_sys_utimensat_wrapper
compat_sys_utimensat_wrapper:
llgfr %r2,%r2 # unsigned int
llgtr %r3,%r3 # char *
llgtr %r4,%r4 # struct compat_timespec *
lgfr %r5,%r5 # int
jg compat_sys_utimensat
2 changes: 2 additions & 0 deletions trunk/arch/s390/kernel/syscalls.S
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,5 @@ NI_SYSCALL /* 310 sys_move_pages */
SYSCALL(sys_getcpu,sys_getcpu,sys_getcpu_wrapper)
SYSCALL(sys_epoll_pwait,sys_epoll_pwait,compat_sys_epoll_pwait_wrapper)
SYSCALL(sys_utimes,sys_utimes,compat_sys_utimes_wrapper)
NI_SYSCALL /* 314 sys_fallocate */
SYSCALL(sys_utimensat,sys_utimensat,compat_sys_utimensat_wrapper) /* 315 */
18 changes: 16 additions & 2 deletions trunk/include/asm-s390/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,9 @@
#define __NR_getcpu 311
#define __NR_epoll_pwait 312
#define __NR_utimes 313

#define NR_syscalls 314
/* Number 314 is reserved for new sys_fallocate */
#define __NR_utimensat 315
#define NR_syscalls 316

/*
* There are some system calls that are not present on 64 bit, some
Expand Down Expand Up @@ -346,6 +347,19 @@

#ifdef __KERNEL__

#ifndef CONFIG_64BIT
#define __IGNORE_select
#else
#define __IGNORE_time
#endif

/* Ignore NUMA system calls. Not wired up on s390. */
#define __IGNORE_mbind
#define __IGNORE_get_mempolicy
#define __IGNORE_set_mempolicy
#define __IGNORE_migrate_pages
#define __IGNORE_move_pages

#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_SYS_ALARM
Expand Down

0 comments on commit a6886df

Please sign in to comment.