Re: [PATCH] - UML - remove some dead code

From: Arnd Bergmann
Date: Sun Nov 14 2004 - 18:16:32 EST


On Maandag 15 November 2004 00:04, Jeff Dike wrote:
> Bodo pointed out that arch/um/kernel/skas/exec_user.c is dead code, so
> this removes it.

Speaking of dead code: I think you should be able to mostly get rid of
the KERNEL_CALL hack in include/asm-um/unistd.h, since all kernel syscalls
except execve are now gone.

It should be enough to have an out of line version of execve and do

#undef __KERNEL_SYSCALLS
#include "asm/arch/unistd.h"
extern int execve(const char *filename, char *const argv[],
char *const envp[]);

Arnd <><

Attachment: pgp00000.pgp
Description: signature