aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/systbl.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-08-16 13:57:30 -0400
committerPaul Mackerras <paulus@samba.org>2008-08-18 00:22:35 -0400
commit50d0b17645a26d2877c9d5538114498c3f82adac (patch)
tree3b08efbc5cc2b4dbc5ed6ca4edc5733e224aaf35 /arch/powerpc/include/asm/systbl.h
parentd9178f4c14c3215fec66d326fcaff74262336aed (diff)
powerpc: Use generic compat_sys_old_readdir
Use the generic compat_sys_old_readdir instead of the powerpc one which is almost the same except for the almost complete lack of error handling. Note that we can't just use SYSCALL() in systbl.h because the native syscall is named old_readdir, not sys_old_readdir. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/systbl.h')
-rw-r--r--arch/powerpc/include/asm/systbl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index e084272ed1c2..f6cc7a43b4fa 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -92,7 +92,7 @@ COMPAT_SYS_SPU(readlink)
92SYSCALL(uselib) 92SYSCALL(uselib)
93SYSCALL(swapon) 93SYSCALL(swapon)
94SYSCALL(reboot) 94SYSCALL(reboot)
95SYSX(sys_ni_syscall,old32_readdir,old_readdir) 95SYSX(sys_ni_syscall,compat_sys_old_readdir,old_readdir)
96SYSCALL_SPU(mmap) 96SYSCALL_SPU(mmap)
97SYSCALL_SPU(munmap) 97SYSCALL_SPU(munmap)
98SYSCALL_SPU(truncate) 98SYSCALL_SPU(truncate)