summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-08-03 14:04:34 +1000
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:47:09 +1000
commited624b6034081e90847be34e40c3624aa86bdc41 (patch)
tree933ef422a4f4c4817322d980072c8c9bfbe831e0 /sys/dev
parent30f095322b1171c1073d74ca08e5cc43788aa320 (diff)
set RI_BSWAP for all big endian systems not just sparc64
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index 505fe1d56ec..09cb93ae669 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -1741,7 +1741,7 @@ radeondrm_attachhook(void *xsc)
drm_fb_helper_restore();
ri->ri_flg = RI_CENTER | RI_VCONS | RI_WRONLY;
-#ifdef __sparc64__
+#ifdef __BIG_ENDIAN
ri->ri_flg |= RI_BSWAP;
#endif
rasops_init(ri, 160, 160);