summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-08-20 07:12:45 +0000
committerDave Airlie <airlied@linux.ie>2005-08-20 07:12:45 +0000
commit2e9bd9ac18e17e91bec4e3b777503a53a3faf952 (patch)
treeed1ac67bcb5bc27bc80e20ce88d6d6ae9a78eb14
parent017174085f162484277b2f798d35d3436a26e005 (diff)
add powerpc64 to the list of archs that this test doesn't make sense on
-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 d10973c7..7c7eb89f 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__)
+#if !defined(__sparc__) && !defined(__alpha__) && !defined(__ia64__) && !defined(__powerpc64__)
if (map->offset + map->size < map->offset ||
map->offset < virt_to_phys(high_memory)) {
drm_free(map, sizeof(*map), DRM_MEM_MAPS);