delete SYSCALL_DECLARE(getdents64)

This commit is contained in:
NAKAMURA Gou
2013-06-12 17:45:30 +09:00
parent b463f39344
commit 1167ea7fb6
2 changed files with 0 additions and 14 deletions

View File

@ -630,12 +630,6 @@ int main_loop(int fd, int cpu, pthread_mutex_t *lock)
pthread_mutex_unlock(lock);
return w.sr.args[0];
case __NR_getdents64: { // linux-2.6.34.13/fs/readdir.c
long c = syscall((int)__NR_getdents64, (unsigned int)w.sr.args[0], (void *)dma_buf, (unsigned int)w.sr.args[2]);
ret = (c < 0) ? -errno : c;
do_syscall_return(fd, cpu, ret, 1, (unsigned long)dma_buf, w.sr.args[1], c < 0 ? 0 : c);
break; }
case __NR_readlink: {
dma_buf[256] = 0;
do_syscall_load(fd, cpu, (unsigned long)dma_buf, w.sr.args[0], 256);