[PATCH:intel-gpu-tools 2/4] Rename NOPID to NO_PID to avoid conflict with Solaris NOPID

Daniel Vetter daniel at ffwll.ch
Fri Aug 24 15:02:12 PDT 2012


On Fri, Aug 24, 2012 at 02:52:19PM -0700, Alan Coopersmith wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 08/24/12 02:50 PM, Eric Anholt wrote:
> > 
> > Alan Coopersmith <alan.coopersmith at oracle.com> writes:
> > 
> >> Solaris <sys/types.h> already has #define NOPID (pid_t)(-1)
> >> 
> >> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> > 
> > NOPID is the ID that was in a MI_NOOP instruction, so NOP_ID would be 
> > better.
> 
> Ack!  NOP_ID was what danvet suggested on IRC when I asked, but then I
> typoed when editing the code.   Sorry about that.

Fixed, and shame on me for not noticing when applying ...
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the xorg-devel mailing list