From: Henry Zhao <[email protected]>

Fixes misaligned address crash when EXA is enabled on Solaris SPARC
(Oracle Bug id 22993744)

Signed-off-by: Alan Coopersmith <[email protected]>
---
 src/mga_exa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mga_exa.c b/src/mga_exa.c
index 86ec09e..03c5229 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -753,7 +753,7 @@ mgaWaitMarker(ScreenPtr pScreen, int marker)
 
     WAITFIFO(1);
 
-    OUTREG(MGAREG_CACHEFLUSH, 0);
+    OUTREG8(MGAREG_CACHEFLUSH, 0);
 
     /* wait until the "drawing engine busy" bit is unset */
     while (INREG (MGAREG_Status) & 0x10000);
-- 
2.15.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to