From: Rusty Russell <rusty@rustcorp.com.au>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org, Doug Ledford <dledford@redhat.com>
Subject: [PATCH] Export module_dummy_usage
Date: Sat, 16 Nov 2002 17:30:25 +1100 [thread overview]
Message-ID: <20021116063131.92F752C0E2@lists.samba.org> (raw)
Trivial patch. We keep a dummy use count for old code which wants to
know its own usecount using GET_USE_COUNT. It needs to be exported.
Name: Export dummy_use_count
Author: Rusty Russell
Status: Trivial
Depends: Module/module.patch.gz
D: This exports dummy_use_count for the few cases of GET_USE_COUNT().
D: Thank to Doug Ledford for the bug report.
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .7740-linux-2.5-bk/kernel/module.c .7740-linux-2.5-bk.updated/kernel/module.c
--- .7740-linux-2.5-bk/kernel/module.c 2002-11-16 08:36:15.000000000 +1100
+++ .7740-linux-2.5-bk.updated/kernel/module.c 2002-11-16 17:28:07.000000000 +1100
@@ -1155,6 +1155,7 @@ static int __init init(void)
/* Obsolete lvalue for broken code which asks about usage */
int module_dummy_usage = 1;
+EXPORT_SYMBOL(module_dummy_usage);
/* Call this at boot */
__initcall(init);
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
reply other threads:[~2002-11-16 6:24 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=20021116063131.92F752C0E2@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=dledford@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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