summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2008-05-11 17:13:43 +0000
committerjmcneill <jmcneill@NetBSD.org>2008-05-11 17:13:43 +0000
commit9e5e643a12d595e2e6277da31bc05137ac40c7ff (patch)
treec5874f34bdc95ac4603f879bfe8472ba440f01f7 /sys/compat/linux
parent9188c0738a54ff4f35640ed4b38702422595df54 (diff)
Pull in machine/cpufunc.h for wrmsr definition.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/amd64/linux_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/arch/amd64/linux_machdep.c b/sys/compat/linux/arch/amd64/linux_machdep.c
index 89861f19c59..5b0cae09da2 100644
--- a/sys/compat/linux/arch/amd64/linux_machdep.c
+++ b/sys/compat/linux/arch/amd64/linux_machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.29 2008/04/24 18:39:22 ad Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.30 2008/05/11 17:13:43 jmcneill Exp $ */
/*-
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.29 2008/04/24 18:39:22 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.30 2008/05/11 17:13:43 jmcneill Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -53,6 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.29 2008/04/24 18:39:22 ad Exp $"
#include <machine/mcontext.h>
#include <machine/specialreg.h>
#include <machine/vmparam.h>
+#include <machine/cpufunc.h>
/*
* To see whether wscons is configured (for virtual console ioctl calls).