diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-09-21 02:25:58 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-09-21 02:25:58 +0000 |
commit | 4244e7b8f96e3c6050a64ed04282e165f9728a6d (patch) | |
tree | 8e1f237656a27e6c666d62d1ba6e685b3908ee2f /mdk-stage1 | |
parent | 201e236632493c1c7f1cdf5c04dae9c0389f53e9 (diff) | |
download | drakx-backup-do-not-use-4244e7b8f96e3c6050a64ed04282e165f9728a6d.tar drakx-backup-do-not-use-4244e7b8f96e3c6050a64ed04282e165f9728a6d.tar.gz drakx-backup-do-not-use-4244e7b8f96e3c6050a64ed04282e165f9728a6d.tar.bz2 drakx-backup-do-not-use-4244e7b8f96e3c6050a64ed04282e165f9728a6d.tar.xz drakx-backup-do-not-use-4244e7b8f96e3c6050a64ed04282e165f9728a6d.zip |
define io ports on x86_64 too for pcmcia stuff
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/dietlibc/include/sys/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/dietlibc/include/sys/io.h b/mdk-stage1/dietlibc/include/sys/io.h index 5edf33a57..40a0d459b 100644 --- a/mdk-stage1/dietlibc/include/sys/io.h +++ b/mdk-stage1/dietlibc/include/sys/io.h @@ -8,7 +8,7 @@ extern int iopl(int level) __THROW; #ifndef __STRICT_ANSI__ /* anyone have a cleaner solution for this mess? */ -#ifdef __i386__ +#if defined(__i386__) || defined(__x86_64__) static inline unsigned char inb (unsigned short int port) { unsigned char _v; __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (port)); |