From 3dcbc1f4a13e2f8d5ddb2a9ae8bc83c48a30a2b7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 5 Sep 2004 02:36:48 +0000 Subject: make the AMD64 check a compat thing --- linux-core/drm_compat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linux-core/drm_compat.h') 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 -- cgit v1.2.3