From: Michal Krol Date: Mon, 16 Mar 2009 11:22:50 +0000 (+0100) Subject: softpipe: Use p_atomic_read, not atomic_read. X-Git-Tag: 062012170305~17580^2~98 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47c18b35b0346e6b456dae4a883fcc743811ef8e;p=profile%2Fivi%2Fmesa.git softpipe: Use p_atomic_read, not atomic_read. --- diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index ade18b2..48b2c22 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -138,7 +138,7 @@ softpipe_texture_create(struct pipe_screen *screen, goto fail; } - assert(atomic_read(&spt->base.reference.count) == 1); + assert(p_atomic_read(&spt->base.reference.count) == 1); return &spt->base; fail: