diff options
Diffstat (limited to 'src/atimach64accel.c')
-rw-r--r-- | src/atimach64accel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/atimach64accel.c b/src/atimach64accel.c index f35af53..0453f22 100644 --- a/src/atimach64accel.c +++ b/src/atimach64accel.c @@ -67,13 +67,15 @@ /* Used to test MMIO cache integrity in ATIMach64Sync() */ #define TestRegisterCaching(_Register) \ + do { \ if (RegisterIsCached(_Register) && \ (CacheSlot(_Register) != inm(_Register))) \ { \ UncacheRegister(_Register); \ xf86DrvMsg(pScreenInfo->scrnIndex, X_WARNING, \ #_Register " MMIO write cache disabled!\n"); \ - } + } \ + } while (0) /* * X-to-Mach64 mix translation table. |