From 40b6725a9a8564ea2e594c2279d8938d8653ebf1 Mon Sep 17 00:00:00 2001 From: pooka Date: Thu, 7 Mar 2013 19:10:59 +0000 Subject: [PATCH] set e_nsysent --- sys/rump/kern/lib/libsys_linux/component.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/rump/kern/lib/libsys_linux/component.c b/sys/rump/kern/lib/libsys_linux/component.c index cb167d0aa911..ee60fe016527 100644 --- a/sys/rump/kern/lib/libsys_linux/component.c +++ b/sys/rump/kern/lib/libsys_linux/component.c @@ -1,4 +1,4 @@ -/* $NetBSD: component.c,v 1.5 2013/03/07 18:57:42 pooka Exp $ */ +/* $NetBSD: component.c,v 1.6 2013/03/07 19:10:59 pooka Exp $ */ #include #include @@ -7,11 +7,16 @@ #include "rump_private.h" +#include "rump_linux_syscall.h" + extern struct sysent rump_linux_sysent[]; struct emul emul_rump_sys_linux = { .e_name = "linux-rump", .e_sysent = rump_linux_sysent, +#ifndef __HAVE_MINIMAL_EMUL + .e_nsysent = RUMP_LINUX_SYS_NSYSENT, +#endif .e_vm_default_addr = uvm_default_mapaddr, #ifdef __HAVE_SYSCALL_INTERN .e_syscall_intern = syscall_intern,