Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64953
b: refs/heads/master
c: bc671aa
h: refs/heads/master
i:
  64951: c547dc5
v: v3
  • Loading branch information
Chris Zankel committed Aug 27, 2007
1 parent 0251df8 commit 3f16fd2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 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: 068732d9b465cafcc56a745c3931f2fc4e58f48f
refs/heads/master: bc671aa9838f234ccfc794a77325628f1e41e083
5 changes: 5 additions & 0 deletions trunk/arch/xtensa/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,8 @@ asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg)
return (long)ret;
}

asmlinkage long xtensa_fadvise64_64(int fd, int advice, unsigned long long offset, unsigned long long len)
{
return sys_fadvise64_64(fd, offset, len, advice);
}

2 changes: 2 additions & 0 deletions trunk/include/asm-xtensa/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ asmlinkage long sys_rt_sigaction(int,
struct sigaction __user *,
size_t);
asmlinkage long xtensa_shmat(int, char __user *, int);
asmlinkage long xtensa_fadvise64_64(int, int,
unsigned long long, unsigned long long);

/* Should probably move to linux/syscalls.h */
struct pollfd;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-xtensa/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ __SYSCALL( 61, sys_fcntl64, 3)
#define __NR_available62 62
__SYSCALL( 62, sys_ni_syscall, 0)
#define __NR_fadvise64_64 63
__SYSCALL( 63, sys_fadvise64_64, 6)
__SYSCALL( 63, xtensa_fadvise64_64, 6)
#define __NR_utime 64 /* glibc 2.3.3 ?? */
__SYSCALL( 64, sys_utime, 2)
#define __NR_utimes 65
Expand Down

0 comments on commit 3f16fd2

Please sign in to comment.