string: do not export memweight() to userspace
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 21 Aug 2012 23:16:00 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Aug 2012 23:45:03 +0000 (16:45 -0700)
commitc3a5ce0416b6c172a23bc8a3760d8704d3d1535b
tree93dab5d7523b83c78588b16ba35a46f151734a29
parentd46f3d86fdc9248b4a8497a7da229812a15ba670
string: do not export memweight() to userspace

Fix the following warning:

  usr/include/linux/string.h:8: userspace cannot reference function or variable defined in the kernel

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Acked-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/string.h