gdma: use ispower2
It's faster to use ispower2(n) than it is to compute
roundup_pow_of_two and do a comparison. So do the former.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D46838
gdma: use ispower2 Tags None Referenced Files None Subscribers None
Description
Details
|