From: nick black <dank@suburbanjihad.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.6.0 build alsa without procfs
Date: Thu, 17 Jul 2003 22:09:43 -0400 [thread overview]
Message-ID: <20030718020943.GA23272@suburbanjihad.net> (raw)
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
reply other threads:[~2003-07-18 1:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030718020943.GA23272@suburbanjihad.net \
--to=dank@suburbanjihad.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®