]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/xtensa/kernel/syscall.c
powerpc/spufs: sputrace: Don't block until the read buffer is full
[linux-2.6-omap-h63xx.git] / arch / xtensa / kernel / syscall.c
index fe3834bc1dbf627a6ecce45c587a2c06e5c77f15..ac15ecbdf9199871f3e31ef7e013fd62e1ce3b06 100644 (file)
@@ -49,7 +49,7 @@ asmlinkage long xtensa_pipe(int __user *userfds)
        int fd[2];
        int error;
 
-       error = do_pipe(fd);
+       error = do_pipe_flags(fd, 0);
        if (!error) {
                if (copy_to_user(userfds, fd, 2 * sizeof(int)))
                        error = -EFAULT;
@@ -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);
+}
+