delete SYSCALL_DECLARE(read)

This commit is contained in:
NAKAMURA Gou
2013-06-12 17:32:47 +09:00
parent ecc9b2eeb2
commit 2ba7170ce1
2 changed files with 0 additions and 15 deletions

View File

@@ -596,13 +596,6 @@ int main_loop(int fd, int cpu, pthread_mutex_t *lock)
do_syscall_return(fd, cpu, ret, 0, 0, 0, 0);
break;
case __NR_read:
ret = read(w.sr.args[0], dma_buf, w.sr.args[2]);
SET_ERR(ret);
do_syscall_return(fd, cpu, ret, 1, (unsigned long)dma_buf,
w.sr.args[1], w.sr.args[2]);
break;
case __NR_write:
dma_buf[w.sr.args[2]] = 0;
SET_ERR(ret);