Messages in this thread | | | Subject | Re: [PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope | From | zijun_hu <> | Date | Tue, 16 Aug 2016 15:24:55 +0800 |
| |
On 08/16/2016 02:50 PM, Stephen Rothwell wrote: > Hi, > > On Tue, 16 Aug 2016 14:27:04 +0800 zijun_hu <zijun_hu@zoho.com> wrote: >> >> From: zijun_hu <zijun_hu@htc.com> >> >> move out get_count_order[_long]() definitions from scope limited >> by macro __KERNEL__ > > Why do you need to do this? You say why in the commit message. > 1, it make both functions available in wider region regardless of whether macro __KERNEL__ is defined 2, get_count_order() locates out off region limited by macro __KERNEL__ before the recent commit c513b4cd2fe9 ("mm-vmalloc-fix-align-value-calculation-error-v2-fix-fix") it maybe more perfect to keep its original region and place its counterpart get_count_order_long() nearly
thanks for your reply
| |