diff options
author | hira <hira> | 2004-11-28 11:26:44 +0000 |
---|---|---|
committer | hira <hira> | 2004-11-28 11:26:44 +0000 |
commit | 8240bf9121dec5c90ccb7e5e3effd8930daa7a68 (patch) | |
tree | 6abb863f506e18c6583a57cf1291bd7907f2a307 /sysutils/mbmon/patches | |
parent | c23187afcbdf60d5d35444ebe36e9524f57b7a7f (diff) | |
download | pkgsrc-8240bf9121dec5c90ccb7e5e3effd8930daa7a68.tar.gz |
Use x86_64_iopl() instead of i386_iopl() on NetBSD/amd64.
Diffstat (limited to 'sysutils/mbmon/patches')
-rw-r--r-- | sysutils/mbmon/patches/patch-ae | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/mbmon/patches/patch-ae b/sysutils/mbmon/patches/patch-ae new file mode 100644 index 00000000000..0caab5fcdbf --- /dev/null +++ b/sysutils/mbmon/patches/patch-ae @@ -0,0 +1,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; |