Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 22:21:41 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 102321 for review
Message-ID:  <200607242221.k6OMLfhp048048@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102321

Change 102321 by jhb@jhb_mutex on 2006/07/24 22:20:45

	Fix non-witness compile.

Affected files ...

.. //depot/projects/smpng/sys/amd64/amd64/trap.c#46 edit
.. //depot/projects/smpng/sys/arm/arm/trap.c#19 edit
.. //depot/projects/smpng/sys/conf/files#181 edit
.. //depot/projects/smpng/sys/i386/i386/trap.c#95 edit
.. //depot/projects/smpng/sys/ia64/ia32/ia32_trap.c#9 edit
.. //depot/projects/smpng/sys/ia64/ia64/trap.c#82 edit

Differences ...

==== //depot/projects/smpng/sys/amd64/amd64/trap.c#46 (text+ko) ====

@@ -145,9 +145,7 @@
 SYSCTL_INT(_machdep, OID_AUTO, panic_on_nmi, CTLFLAG_RW,
 	&panic_on_nmi, 0, "Panic on NMI");
 
-#ifdef WITNESS
 extern char *syscallnames[];
-#endif
 
 /*
  * Exception, fault, and trap interface to the FreeBSD kernel.

==== //depot/projects/smpng/sys/arm/arm/trap.c#19 (text+ko) ====

@@ -133,6 +133,7 @@
 #include <machine/machdep.h>
  
 extern char fusubailout[];
+extern char *syscallnames[];
 
 #ifdef DEBUG
 int last_fault_code;	/* For the benefit of pmap_fault_fixup() */

==== //depot/projects/smpng/sys/conf/files#181 (text+ko) ====

@@ -1399,7 +1399,7 @@
 kern/sys_pipe.c			standard
 kern/sys_process.c		standard
 kern/sys_socket.c		standard
-kern/syscalls.c			optional witness
+kern/syscalls.c			optional witness | invariants
 kern/sysv_ipc.c			standard
 kern/sysv_msg.c			optional sysvmsg
 kern/sysv_sem.c			optional sysvsem

==== //depot/projects/smpng/sys/i386/i386/trap.c#95 (text+ko) ====

@@ -159,9 +159,7 @@
 SYSCTL_INT(_machdep, OID_AUTO, panic_on_nmi, CTLFLAG_RW,
 	&panic_on_nmi, 0, "Panic on NMI");
 
-#ifdef WITNESS
 extern char *syscallnames[];
-#endif
 
 /*
  * Exception, fault, and trap interface to the FreeBSD kernel.

==== //depot/projects/smpng/sys/ia64/ia32/ia32_trap.c#9 (text+ko) ====

@@ -46,9 +46,7 @@
 #include <machine/md_var.h>
 #include <i386/include/psl.h>
 
-#ifdef WITNESS
 extern char *syscallnames[];
-#endif
 
 static void
 ia32_syscall(struct trapframe *tf)

==== //depot/projects/smpng/sys/ia64/ia64/trap.c#82 (text+ko) ====

@@ -85,9 +85,7 @@
  */
 extern struct fpswa_iface *fpswa_iface;
 
-#ifdef WITNESS
 extern char *syscallnames[];
-#endif
 
 static const char *ia64_vector_names[] = {
 	"VHPT Translation",			/* 0 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607242221.k6OMLfhp048048>