Re: [Xen-devel] [PATCH 2/7] xen/bitops: Rename LOG_2 to ilog2

2018-02-12 Thread Wei Liu
On Thu, Feb 08, 2018 at 08:10:50PM -0700, Sameer Goel wrote: > Changing the name of the macro from LOG_2 to ilog2.This makes the function > name > similar to its Linux counterpart. Since, this is not used in multiple places, > the code churn is minimal. > > This change helps in porting unchanged

[Xen-devel] [PATCH 2/7] xen/bitops: Rename LOG_2 to ilog2

2018-02-08 Thread Sameer Goel
Changing the name of the macro from LOG_2 to ilog2.This makes the function name similar to its Linux counterpart. Since, this is not used in multiple places, the code churn is minimal. This change helps in porting unchanged code from Linux. Signed-off-by: Sameer Goel ---