aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-08-20 07:38:11 +0000
committerDave Airlie <airlied@linux.ie>2005-08-20 07:38:11 +0000
commit5c4ce6d93c93032dad7f5a60f8b7867980d3f7f5 (patch)
tree598f5eca773c7826f098ab0235379ce6bdbf39ac
parentd12768f79ac2dbf9e31a32107f6e5379cb9484e4 (diff)
add x86_64 to the list as well
-rw-r--r--linux-core/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_bufs.c b/linux-core/drm_bufs.c
index 7c7eb89f..28adc1ad 100644
--- a/linux-core/drm_bufs.c
+++ b/linux-core/drm_bufs.c
@@ -154,7 +154,7 @@ int drm_addmap(drm_device_t * dev, unsigned int offset,
switch (map->type) {
case _DRM_REGISTERS:
case _DRM_FRAME_BUFFER:
-#if !defined(__sparc__) && !defined(__alpha__) && !defined(__ia64__) && !defined(__powerpc64__)
+#if !defined(__sparc__) && !defined(__alpha__) && !defined(__ia64__) && !defined(__powerpc64__) && !defined(__x86_64__)
if (map->offset + map->size < map->offset ||
map->offset < virt_to_phys(high_memory)) {
drm_free(map, sizeof(*map), DRM_MEM_MAPS);