delete SYSCALL_DECLARE(fstat)

This commit is contained in:
NAKAMURA Gou
2013-06-12 17:07:40 +09:00
parent 1fe6b5fb7b
commit 9810c9c0de
2 changed files with 0 additions and 17 deletions

View File

@@ -664,15 +664,6 @@ int main_loop(int fd, int cpu, pthread_mutex_t *lock)
w.sr.args[1], sizeof(struct stat)); w.sr.args[1], sizeof(struct stat));
break; break;
} }
case __NR_fstat:
ret = fstat(w.sr.args[0], (void *)dma_buf);
__dprintf("mcexec.c:main_loop,arg[0]=%ld,ret=%d\n", w.sr.args[0], ret);
if (ret == -1) {
ret = -errno;
}
do_syscall_return(fd, cpu, ret, 1, (unsigned long)dma_buf,
w.sr.args[1], sizeof(struct stat));
break;
/* /*
glibc-2.14.90/sysdeps/unix/sysv/linux/x86_64/time.S glibc-2.14.90/sysdeps/unix/sysv/linux/x86_64/time.S

View File

@@ -142,13 +142,6 @@ int do_syscall(struct syscall_request *req, ihk_mc_user_context_t *ctx)
#define SYSCALL_FOOTER return do_syscall(&request, ctx) #define SYSCALL_FOOTER return do_syscall(&request, ctx)
SYSCALL_DECLARE(fstat)
{
SYSCALL_HEADER;
SYSCALL_ARGS_2(D, MO);
SYSCALL_FOOTER;
}
static int stop(void) static int stop(void)
{ {
while(1); while(1);
@@ -1082,7 +1075,6 @@ static long (*syscall_table[])(int, ihk_mc_user_context_t *) = {
[2] = sys_open, [2] = sys_open,
[3] = sys_close, [3] = sys_close,
[4] = sys_stat, [4] = sys_stat,
[5] = sys_fstat,
[8] = sys_lseek, [8] = sys_lseek,
[9] = sys_mmap, [9] = sys_mmap,
[10] = sys_mprotect, [10] = sys_mprotect,