powerpc: Use generic compat_sys_old_readdir
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Aug 2008 17:57:30 +0000 (03:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 18 Aug 2008 04:22:35 +0000 (14:22 +1000)
commit50d0b17645a26d2877c9d5538114498c3f82adac
tree3b08efbc5cc2b4dbc5ed6ca4edc5733e224aaf35
parentd9178f4c14c3215fec66d326fcaff74262336aed
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>
arch/powerpc/include/asm/systbl.h
arch/powerpc/kernel/sys_ppc32.c