diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-07-07 20:33:09 +1000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-07-10 20:50:16 +0200 |
commit | fd570665ce9eb76e02d1fe5fb958e87ea017fd73 (patch) | |
tree | 5d11e7124936be0fdb961c87eabcee3c33fcf389 /util/i915tool/spatches/ringbuffer.cocci | |
parent | 4793328fbd00776046f43ef8d5f0775c54a7e572 (diff) |
include/stdlib.h: Extend common macro collection
Add the following useful macros:
* Absolute Value Macro
* Taking ceiling of (a / b)
* Check if value x is a power of 2 or not
Change-Id: I4e9a326aea3cdd963f13548d1fb63331a57d84b1
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6198
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util/i915tool/spatches/ringbuffer.cocci')
0 files changed, 0 insertions, 0 deletions