blob: 0caab5fcdbfc99b85500fe4a8e42eda1bac8cc42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ae,v 1.1 2004/11/28 11:26:44 hira Exp $
--- io_cpu.h.orig 2004-11-28 20:10:23.000000000 +0900
+++ io_cpu.h 2004-11-28 20:10:52.000000000 +0900
@@ -21,6 +21,9 @@
#include "machine/sysarch.h"
#define SET_IOPL() i386_iopl(1)
#define RESET_IOPL() i386_iopl(0)
+# ifdef __amd64__
+# define i386_iopl x86_64_iopl
+# endif
#else /* FreeBSD */
extern int iofl;
|