projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9110540
)
[PATCH] cmpci: don't use generic_hweight32()
author
Andrew Morton
<akpm@osdl.org>
Sun, 26 Mar 2006 09:38:56 +0000
(
01:38
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:09 +0000
(08:57 -0800)
It's about to go away.
Cc: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/cmpci.c
patch
|
blob
|
history
diff --git
a/sound/oss/cmpci.c
b/sound/oss/cmpci.c
index 1fbd5137f6d74643697184304e9c99631c99df46..de60a059ff5f783c60d10127c701335d363637dc 100644
(file)
--- 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;