* [PATCH] 2.6.0 build alsa without procfs
@ 2003-07-18 2:09 nick black
0 siblings, 0 replies; only message in thread
From: nick black @ 2003-07-18 2:09 UTC (permalink / raw)
To: linux-kernel
the attached/following fixes a compilation issue with alsa + !procfs.
applies to 2.6.0-test1-ac2 and 2.6.0-test1.
--- linux-2.6.0-test1-pristine/sound/core/memalloc.c 2003-07-17 20:28:36.000000000 -0400
+++ linux-2.6.0-test1/sound/core/memalloc.c 2003-07-17 22:03:41.000000000 -0400
@@ -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
--
nick black <dank@reflexsecurity.com>
"np: nondeterministic polynomial-time
the class of dashed hopes and idle dreams." - the complexity zoo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-18 1:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 2:09 [PATCH] 2.6.0 build alsa without procfs nick black
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).