Index: kern_syscall.c
===================================================================
RCS file: /cvsroot/src/sys/kern/kern_syscall.c,v
retrieving revision 1.6
diff -u -p -u -r1.6 kern_syscall.c
--- kern_syscall.c	8 Mar 2012 21:59:30 -0000	1.6
+++ kern_syscall.c	3 May 2012 02:59:09 -0000
@@ -194,6 +194,7 @@ sys_nomodule(struct lwp *l, const void *
 	    { SYS__ksem_destroy, "ksem" },
 	    { SYS__ksem_timedwait, "ksem" },
 	    { SYS_nfssvc, "nfsserver" },
+	    { SYS_afssys, "openafs" },
 	};
 	const struct sysent *sy;
 	const struct emul *em;
Index: makesyscalls.sh
===================================================================
RCS file: /cvsroot/src/sys/kern/makesyscalls.sh,v
retrieving revision 1.119
diff -u -p -u -r1.119 makesyscalls.sh
--- makesyscalls.sh	26 Jun 2011 16:42:42 -0000	1.119
+++ makesyscalls.sh	3 May 2012 02:59:09 -0000
@@ -725,7 +725,7 @@ function putent(type, compatwrap) {
 		# output a prototype, to be used to generate lint stubs in
 		# libc.
 		printproto("")
-	} else if (type == "COMPAT") {
+	} else if (type == "COMPAT" || type == "EXTERN") {
 		# Just define the syscall number with a comment.  These
 		# may be used by compatibility stubs in libc.
 		printproto(compatwrap_)
@@ -880,6 +880,12 @@ $2 == "OBSOL" || $2 == "UNIMPL" || $2 ==
 	syscall++
 	next
 }
+$2 == "EXTERN" {
+	parseline()
+	putent("EXTERN", "")
+	syscall++
+	next
+}
 {
 	for (i = 1; i <= ncompat; i++) {
 		if ($2 == compat_upper[i]) {
Index: syscalls.master
===================================================================
RCS file: /cvsroot/src/sys/kern/syscalls.master,v
retrieving revision 1.258
diff -u -p -u -r1.258 syscalls.master
--- syscalls.master	8 Mar 2012 21:55:45 -0000	1.258
+++ syscalls.master	3 May 2012 02:59:10 -0000
@@ -26,6 +26,7 @@
 ;	INDIR	included, but don't define the syscall args structure,
 ;		and allow it to be "really" varargs.
 ;	NOERR	included, syscall does not set errno
+;	EXTERN	implemented, but as 3rd party module
 ;
 ; arguments:
 ;	PAD	argument not part of the C interface, used only for padding
@@ -403,7 +404,8 @@
 ;
 ; Syscalls 210-219 are reserved for dynamically loaded syscalls
 ;
-210	UNIMPL
+210	EXTERN	MODULAR { int|sys||afssys(long id, long a1, long a2, \
+			  long a3, long a4, long a5, long a6); }
 211	UNIMPL
 212	UNIMPL
 213	UNIMPL