summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-04 22:41:11 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-04 22:41:11 +0000
commit993552695694252139ea8b910305b3bf193560b5 (patch)
treeaa2f9ce904b5320b85588947abe040e92db4727e /isys
parentb06a58fec2bf00bf1c8ca86a33888efc94caf022 (diff)
downloadanaconda-993552695694252139ea8b910305b3bf193560b5.tar.gz
anaconda-993552695694252139ea8b910305b3bf193560b5.tar.xz
anaconda-993552695694252139ea8b910305b3bf193560b5.zip
oops, the kernel sucks again
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/isys/isys.c b/isys/isys.c
index 3f89d630b..72794364d 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -11,8 +11,12 @@
#if defined(__alpha) || (defined(__sparc__) && defined(__arch64__))
#define dev_t unsigned int
#else
+#if defined(__x86_64__)
+#define dev_t unsigned long
+#else
#define dev_t unsigned short
#endif
+#endif
#include <linux/loop.h>
#undef dev_t
#define dev_t dev_t