bitops.h: move out get_count_order[_long]() from __KERNEL__ scope
authorzijun_hu <zijun_hu@htc.com>
Sat, 10 Sep 2016 10:34:03 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:03 +0000 (20:34 +1000)
commit13113475f737723ae55c7b38b4439bb62257c03f
treee5b06547885d2c2d61239c3a0b8b37b507c580ee
parentc859510b4d03030f5c4f4b6b6bd7e77d45902f2e
bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

move out get_count_order[_long]() definitions from scope limited by macro
__KERNEL__

it not only make both functions available in wider region regardless of
whether __KERNEL__ is defined but also keep original region for
get_count_order() before the recent commit c513b4cd2fe9
("mm-vmalloc-fix-align-value-calculation-error-v2-fix-fix")

Link: http://lkml.kernel.org/r/57B2C4CE.80303@zoho.com
Signed-off-by: zijun_hu <zijun_hu@htc.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/bitops.h
This page took 0.025722 seconds and 5 git commands to generate.