On Tue, 28 Nov 2006 14:08:40 -0800
Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
NTFS (=m) uses hweight32(), but that function is only linked
into the kernel image if it is used inside the kernel image,
not in loadable modules. Let modules force HWEIGHT to be
built into the kernel image. Otherwise build fails:
Building modules, stage 2.
MODPOST 94 modules
WARNING: "hweight32" [fs/ntfs/ntfs.ko] undefined!
Yes, I'd certainly prefer for this to be more automated rather than
forced by each module that needs it.
Perhaps we should just put it in lib-y and remove CONFIG_GENERIC_HWEIGHT.
It's either part of the API or it ain't.