From: Andrew Morton Date: Sun, 26 Mar 2006 09:38:56 +0000 (-0800) Subject: [PATCH] cmpci: don't use generic_hweight32() X-Git-Tag: v2.6.17-rc1~536 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=6b53f7870d1657831df23788d1984aac3b5a97bd;p=~shefty%2Frdma-dev.git [PATCH] cmpci: don't use generic_hweight32() It's about to go away. Cc: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/sound/oss/cmpci.c b/sound/oss/cmpci.c index 1fbd5137f6d..de60a059ff5 100644 --- a/sound/oss/cmpci.c +++ b/sound/oss/cmpci.c @@ -1713,7 +1713,7 @@ static int mixer_ioctl(struct cm_state *s, unsigned int cmd, unsigned long arg) case SOUND_MIXER_RECSRC: /* Arg contains a bit for each recording source */ if (get_user(val, p)) return -EFAULT; - i = generic_hweight32(val); + i = hweight32(val); for (j = i = 0; i < SOUND_MIXER_NRDEVICES; i++) { if (!(val & (1 << i))) continue;