sna: Move initialisation of loop counter to common code
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 09:40:56 +0000 (09:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 09:40:56 +0000 (09:40 +0000)
commitc3d5b1d8fcb1b65c35827d38bf5b309e433d0907
treede892ce31d35fbd93b962f3a4a671083330e21f0
parent1a31335954b4d244d10e2594ae00e60762536a77
sna: Move initialisation of loop counter to common code

It was only being defined in x86-64 and left unitialized for x86-32.

Fixes regression from
commit 587c4866652e40e1e228b333028114766a6d3b08
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Nov 4 15:10:40 2013 +0000

    sna: Promote uint16_t to a full int to avoid overflow in computing w*h in memcpy_xor

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71286
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/blt.c