From: Michal Krol Date: Mon, 16 Mar 2009 11:22:50 +0000 (+0100) Subject: softpipe: Use p_atomic_read, not atomic_read. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47c18b35b0346e6b456dae4a883fcc743811ef8e;p=mesa.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 ade18b23332..48b2c22af45 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: