[lkml]   [2016]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope
On 08/16/2016 02:50 PM, Stephen Rothwell wrote:
> Hi,
> On Tue, 16 Aug 2016 14:27:04 +0800 zijun_hu <> wrote:
>> From: zijun_hu <>
>> 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
it maybe more perfect to keep its original region and place its counterpart
get_count_order_long() nearly

thanks for your reply

 \ /
  Last update: 2016-09-17 09:57    [W:0.061 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site