summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-09-05 02:36:48 +0000
committerDave Airlie <airlied@linux.ie>2004-09-05 02:36:48 +0000
commit3dcbc1f4a13e2f8d5ddb2a9ae8bc83c48a30a2b7 (patch)
treee1c41a598fe225d1f10d62d8802e454de2390fbc /linux-core/drm_compat.h
parent4499ea42eae887c45403cd9ea364fccf311fee8e (diff)
make the AMD64 check a compat thing
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r--linux-core/drm_compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h
index f6c113a9..f5d5824f 100644
--- a/linux-core/drm_compat.h
+++ b/linux-core/drm_compat.h
@@ -152,6 +152,11 @@ static inline void class_simple_set_hotplug(struct class_simple *cs, void (*fn)(
#define VM_OFFSET(vma) ((vma)->vm_pgoff << PAGE_SHIFT)
+/* old architectures */
+#ifdef __AMD64__
+#define __x86_64__
+#endif
+
/*@}*/
#endif