mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
840 B

  1. --- ./programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c.orig 2006-04-09 17:13:15.000000000 +0200
  2. +++ ./programs/Xserver/hw/xfree86/drivers/ati/radeon_accel.c 2006-04-09 17:16:27.000000000 +0200
  3. @@ -730,7 +730,7 @@
  4. for (; nwords > 0; --nwords, ++d, ++s)
  5. #ifdef __powerpc__
  6. - asm volatile("stwbrx %0,0,%1" : : "r" (*s), "r" (d));
  7. + __asm__ __volatile__("stwbrx %0,0,%1" : : "r" (*s), "r" (d));
  8. #else
  9. *d = ((*s >> 24) & 0xff) | ((*s >> 8) & 0xff00)
  10. | ((*s & 0xff00) << 8) | ((*s & 0xff) << 24);
  11. @@ -745,7 +745,7 @@
  12. for (; nwords > 0; --nwords, ++d, ++s)
  13. #ifdef __powerpc__
  14. - asm volatile("stwbrx %0,0,%1" : : "r" (*s), "r" (d));
  15. + __asm__ __volatile__("stwbrx %0,0,%1" : : "r" (*s), "r" (d));
  16. #else
  17. *d = ((*s >> 24) & 0xff) | ((*s >> 8) & 0xff00)
  18. | ((*s & 0xff00) << 8) | ((*s & 0xff) << 24);