mesa: Make bitset.h not rely on Mesa-specific types and functions.
authorEric Anholt <eric@anholt.net>
Wed, 11 Feb 2015 22:57:55 +0000 (14:57 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 20 Feb 2015 19:36:34 +0000 (11:36 -0800)
commit8aa381e3cd848f051931f86af5fdcd59921916ee
treeace239c760e8bf9839157bc302c4ae9ae5b2e7b1
parent41b1882ed45f0fcb827a178cb3f7143fcaa8c4d9
mesa: Make bitset.h not rely on Mesa-specific types and functions.

Note that we can't use u_math.h's align() because it's a function instead
of a macro, while BITSET_DECLARE needs a constant expression for nouveau's
usage in global declarations.

v2: Stick some parens around the bits macro argument usage (review by Jose).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/bitset.h