lkml.org 
[lkml]   [2003]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] 2.6.0 build alsa without procfs
From
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.019 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site