From d10d324e79bdcd7d7ab57952e6b140009737e868 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Mon, 22 Aug 2011 20:05:15 -0400 Subject: Remove sys_init syscall Invoke initlog from forkret on first user process --- syscall.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'syscall.c') diff --git a/syscall.c b/syscall.c index 71c369c..0918da7 100644 --- a/syscall.c +++ b/syscall.c @@ -99,15 +99,7 @@ extern int sys_wait(void); extern int sys_write(void); extern int sys_uptime(void); -int -sys_init(void) -{ - initlog(); - return 0; -} - static int (*syscalls[])(void) = { -[SYS_init] sys_init, [SYS_fork] sys_fork, [SYS_exit] sys_exit, [SYS_wait] sys_wait, @@ -122,7 +114,6 @@ static int (*syscalls[])(void) = { [SYS_sbrk] sys_sbrk, [SYS_sleep] sys_sleep, [SYS_uptime] sys_uptime, -// File system calls that are run in a transaction: [SYS_open] sys_open, [SYS_write] sys_write, [SYS_mknod] sys_mknod, -- cgit v1.2.3