summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1997-12-12 21:45:23 +0000
committertegge <tegge@FreeBSD.org>1997-12-12 21:45:23 +0000
commit982ed8caa2c928574b4adcc4149fb11f323b0f46 (patch)
treed95de02ec19d917acd724411fb0297b933a23a0a /sys/amd64
parent15bda558babc940cb959ec072549a3aa395eb260 (diff)
downloadFreeBSD-src-982ed8caa2c928574b4adcc4149fb11f323b0f46.zip
FreeBSD-src-982ed8caa2c928574b4adcc4149fb11f323b0f46.tar.gz
Add needed #include.
Problem found by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/mp_machdep.c5
-rw-r--r--sys/amd64/amd64/mptable.c5
-rw-r--r--sys/amd64/include/mptable.h5
3 files changed, 12 insertions, 3 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index 632d5dd..60689a1 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.40 1997/12/04 19:30:03 smp Exp smp $
+ * $Id: mp_machdep.c,v 1.61 1997/12/08 23:00:24 fsmp Exp $
*/
#include "opt_smp.h"
@@ -52,6 +52,9 @@
#include <sys/lock.h>
#include <vm/vm_map.h>
#include <sys/user.h>
+#ifdef GPROF
+#include <sys/gmon.h>
+#endif
#endif
#include <machine/smp.h>
diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c
index 632d5dd..60689a1 100644
--- a/sys/amd64/amd64/mptable.c
+++ b/sys/amd64/amd64/mptable.c
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.40 1997/12/04 19:30:03 smp Exp smp $
+ * $Id: mp_machdep.c,v 1.61 1997/12/08 23:00:24 fsmp Exp $
*/
#include "opt_smp.h"
@@ -52,6 +52,9 @@
#include <sys/lock.h>
#include <vm/vm_map.h>
#include <sys/user.h>
+#ifdef GPROF
+#include <sys/gmon.h>
+#endif
#endif
#include <machine/smp.h>
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index 632d5dd..60689a1 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: mp_machdep.c,v 1.40 1997/12/04 19:30:03 smp Exp smp $
+ * $Id: mp_machdep.c,v 1.61 1997/12/08 23:00:24 fsmp Exp $
*/
#include "opt_smp.h"
@@ -52,6 +52,9 @@
#include <sys/lock.h>
#include <vm/vm_map.h>
#include <sys/user.h>
+#ifdef GPROF
+#include <sys/gmon.h>
+#endif
#endif
#include <machine/smp.h>
OpenPOWER on IntegriCloud