All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] EXPORT_UNUSED_SYMBOL{,GPL} {,un}register_die_notifier
Date: Fri, 30 Jun 2006 13:33:17 +0200	[thread overview]
Message-ID: <20060630113317.GV19712@stusta.de> (raw)

This patch marks {,un}register_die_notifier as 
EXPORT_UNUSED_SYMBOL{,GPL}.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 arch/i386/kernel/traps.c    |    4 ++--
 arch/ia64/kernel/traps.c    |    4 ++--
 arch/powerpc/kernel/traps.c |    4 ++--
 arch/sparc64/kernel/traps.c |    4 ++--
 arch/x86_64/kernel/traps.c  |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

--- linux-2.6.17-mm4-full/arch/i386/kernel/traps.c.old	2006-06-30 04:06:31.000000000 +0200
+++ linux-2.6.17-mm4-full/arch/i386/kernel/traps.c	2006-06-30 04:07:26.000000000 +0200
@@ -101,13 +101,13 @@
 	vmalloc_sync_all();
 	return atomic_notifier_chain_register(&i386die_chain, nb);
 }
-EXPORT_SYMBOL(register_die_notifier);
+EXPORT_UNUSED_SYMBOL(register_die_notifier);  /*  June 2006  */
 
 int unregister_die_notifier(struct notifier_block *nb)
 {
 	return atomic_notifier_chain_unregister(&i386die_chain, nb);
 }
-EXPORT_SYMBOL(unregister_die_notifier);
+EXPORT_UNUSED_SYMBOL(unregister_die_notifier);  /*  June 2006  */
 
 static inline int valid_stack_ptr(struct thread_info *tinfo, void *p)
 {
--- linux-2.6.17-mm4-full/arch/ia64/kernel/traps.c.old	2006-06-30 04:07:35.000000000 +0200
+++ linux-2.6.17-mm4-full/arch/ia64/kernel/traps.c	2006-06-30 04:09:20.000000000 +0200
@@ -37,14 +37,14 @@
 {
 	return atomic_notifier_chain_register(&ia64die_chain, nb);
 }
-EXPORT_SYMBOL_GPL(register_die_notifier);
+EXPORT_UNUSED_SYMBOL_GPL(register_die_notifier);  /*  June 2006  */
 
 int
 unregister_die_notifier(struct notifier_block *nb)
 {
 	return atomic_notifier_chain_unregister(&ia64die_chain, nb);
 }
-EXPORT_SYMBOL_GPL(unregister_die_notifier);
+EXPORT_UNUSED_SYMBOL_GPL(unregister_die_notifier);  /*  June 2006  */
 
 void __init
 trap_init (void)
--- linux-2.6.17-mm4-full/arch/powerpc/kernel/traps.c.old	2006-06-30 04:09:35.000000000 +0200
+++ linux-2.6.17-mm4-full/arch/powerpc/kernel/traps.c	2006-06-30 04:11:35.000000000 +0200
@@ -85,13 +85,13 @@
 {
 	return atomic_notifier_chain_register(&powerpc_die_chain, nb);
 }
-EXPORT_SYMBOL(register_die_notifier);
+EXPORT_UNUSED_SYMBOL(register_die_notifier);  /*  June 2006  */
 
 int unregister_die_notifier(struct notifier_block *nb)
 {
 	return atomic_notifier_chain_unregister(&powerpc_die_chain, nb);
 }
-EXPORT_SYMBOL(unregister_die_notifier);
+EXPORT_UNUSED_SYMBOL(unregister_die_notifier);  /*  June 2006  */
 
 /*
  * Trap & Exception support
--- linux-2.6.17-mm4-full/arch/sparc64/kernel/traps.c.old	2006-06-30 04:11:46.000000000 +0200
+++ linux-2.6.17-mm4-full/arch/sparc64/kernel/traps.c	2006-06-30 04:12:11.000000000 +0200
@@ -50,13 +50,13 @@
 {
 	return atomic_notifier_chain_register(&sparc64die_chain, nb);
 }
-EXPORT_SYMBOL(register_die_notifier);
+EXPORT_UNUSED_SYMBOL(register_die_notifier);  /*  June 2006  */
 
 int unregister_die_notifier(struct notifier_block *nb)
 {
 	return atomic_notifier_chain_unregister(&sparc64die_chain, nb);
 }
-EXPORT_SYMBOL(unregister_die_notifier);
+EXPORT_UNUSED_SYMBOL(unregister_die_notifier);  /*  June 2006  */
 
 /* When an irrecoverable trap occurs at tl > 0, the trap entry
  * code logs the trap state registers at every level in the trap
--- linux-2.6.17-mm4-full/arch/x86_64/kernel/traps.c.old	2006-06-30 04:12:18.000000000 +0200
+++ linux-2.6.17-mm4-full/arch/x86_64/kernel/traps.c	2006-06-30 04:12:48.000000000 +0200
@@ -77,13 +77,13 @@
 	vmalloc_sync_all();
 	return atomic_notifier_chain_register(&die_chain, nb);
 }
-EXPORT_SYMBOL(register_die_notifier);
+EXPORT_UNUSED_SYMBOL(register_die_notifier);  /*  June 2006  */
 
 int unregister_die_notifier(struct notifier_block *nb)
 {
 	return atomic_notifier_chain_unregister(&die_chain, nb);
 }
-EXPORT_SYMBOL(unregister_die_notifier);
+EXPORT_UNUSED_SYMBOL(unregister_die_notifier);  /*  June 2006  */
 
 static inline void conditional_sti(struct pt_regs *regs)
 {


             reply	other threads:[~2006-06-30 11:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30 11:33 Adrian Bunk [this message]
2006-07-01  3:35 ` [2.6 patch] EXPORT_UNUSED_SYMBOL{,GPL} {,un}register_die_notifier Andrew Morton
2006-07-01 11:54   ` Alan Cox
2006-07-01 11:42     ` Arjan van de Ven
2006-07-11 14:04   ` Dean Nelson
2006-07-02  6:09 ` Keith Owens
2006-07-02  7:38   ` Arjan van de Ven

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=20060630113317.GV19712@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.