util/macros: Import ALIGN_POT from ralloc.c
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 29 Jun 2018 21:59:56 +0000 (14:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 2 Jul 2018 19:09:14 +0000 (12:09 -0700)
commit70b16963fc6aa5f8c0e947ea48095bb679a3fa74
treefa7b9a5d6e8897e762f80073972d7f53910cd2e3
parent4819da2301916512dbc50e0b5e97a75a6b6320a2
util/macros: Import ALIGN_POT from ralloc.c

v2 (Jason Ekstrand):
 - Rename y to pot_align (Brian)
 - Also use ALIGN_POT in build_id.c and slab.c (Brian)

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/build_id.c
src/util/macros.h
src/util/ralloc.c
src/util/slab.c