aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2010-02-01 14:03:07 +0000
committerH. Peter Anvin <[email protected]>2010-04-06 22:52:11 +0000
commit1527bc8b928dd1399c3d3467dd47d9ede210978a (patch)
treefb391da915bdae9f933b8170ff61aa43c85ef9ae /scripts/mod/file2alias.c
parentMerge branch 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/... (diff)
downloadkernel-1527bc8b928dd1399c3d3467dd47d9ede210978a.tar.gz
kernel-1527bc8b928dd1399c3d3467dd47d9ede210978a.zip
bitops: Optimize hweight() by making use of compile-time evaluation
Rename the extisting runtime hweight() implementations to __arch_hweight(), rename the compile-time versions to __const_hweight() and then have hweight() pick between them. Suggested-by: H. Peter Anvin <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <20100318111929.GB11152@aftab> Acked-by: H. Peter Anvin <[email protected]> LKML-Reference: <1265028224.24455.154.camel@laptop> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions