summaryrefslogtreecommitdiff
path: root/linux-core/drm_compat.h
diff options
context:
space:
mode:
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