Clarify order of operations

This commit is contained in:
Robert Noland 2007-11-25 12:50:07 -05:00 committed by Robert Noland
parent 453a295c82
commit b2f8368b57

View file

@ -1102,7 +1102,7 @@ static int i915_do_cleanup_pageflip(struct drm_device * dev)
if (dev_priv->sarea_priv->pf_current_page & (0x3 << (2 * i))) {
dev_priv->sarea_priv->pf_current_page =
(dev_priv->sarea_priv->pf_current_page &
~(0x3 << (2 * i))) | (num_pages - 1) << (2 * i);
~(0x3 << (2 * i))) | ((num_pages - 1) << (2 * i));
planes |= 1 << i;
}