From d0ce99c8740d49af81a59bbf6a95a5ae8c92ebd9 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Wed, 1 Nov 2000 23:13:49 +0000 Subject: [PATCH] use DUMMY macro and support from linux_util.h --- sys/alpha/linux/linux_dummy.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/sys/alpha/linux/linux_dummy.c b/sys/alpha/linux/linux_dummy.c index cf1e0cbadeb1..c44e62833b3f 100644 --- a/sys/alpha/linux/linux_dummy.c +++ b/sys/alpha/linux/linux_dummy.c @@ -35,22 +35,8 @@ #include #include +#include -#define DUMMY(s) \ -int \ -linux_ ## s(struct proc *p, struct linux_ ## s ## _args *args) \ -{ \ - return (unsupported_msg(p, #s)); \ -} \ -struct __hack - -static int -unsupported_msg(struct proc *p, const char *fname) -{ - printf("linux: syscall %s is obsoleted or not implemented (pid=%ld)\n", - fname, (long)p->p_pid); - return (ENOSYS); -} DUMMY(mount); DUMMY(umount);