Skip to contentSkip to conversation

2.6.0 build alsa without procfs

PATCH New nick black 1 participant 1 message Jul 18, 2003 Sound

lore
Share & tools
lore

nick black

author
#0 lore raw

PATCH 1/1 2.6.0 build alsa without procfs

the attached/following fixes a compilation issue with alsa + !procfs. applies to 2.6.0-test1-ac2 and 2.6.0-test1.

sound/core/memalloc.c +2 -0
@@ -886,7 +886,9 @@
 
 static int __init snd_mem_init(void)
 {
+#ifdef CONFIG_PROC_FS
 	create_proc_read_entry("driver/snd-page-alloc", 0, 0, snd_mem_proc_read, NULL);
+#endif
 #ifdef ENABLE_PREALLOC
 	preallocate_cards();
 #endif
Signature · 3 lines
nick black <[email protected]>
"np:  nondeterministic polynomial-time
the class of dashed hopes and idle dreams." - the complexity zoo