sync: change wait timeout to mirror poll semantics

This change has been squashed with the following change to avoid
a compilation failure.

    Author: Erik Gilling <konkers@android.com>
    Date:   Tue Aug 21 18:43:21 2012 -0700
    sync: fix erase-o in sync_fence_wait

    Signed-off-by: Erik Gilling <konkers@android.com>

Change-Id: Ib38e6d339d41885a33027752690d65a52b6897f6
Signed-off-by: Erik Gilling <konkers@android.com>
[mbohan@codeaurora.org: Fix compilation errors]
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2 files changed