From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL}
Date: Fri, 30 Jun 2006 13:31:47 +0200 [thread overview]
Message-ID: <20060630113147.GL19712@stusta.de> (raw)
This patch marks unused exports as EXPORT_UNUSED_SYMBOL{,_GPL}.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
kernel/sys.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.17-mm4-full/kernel/sys.c.old 2006-06-30 02:38:57.000000000 +0200
+++ linux-2.6.17-mm4-full/kernel/sys.c 2006-06-30 02:43:32.000000000 +0200
@@ -663,7 +663,7 @@
printk(".\n");
machine_restart(cmd);
}
-EXPORT_SYMBOL_GPL(kernel_restart);
+EXPORT_UNUSED_SYMBOL_GPL(kernel_restart); /* June 2006 */
/**
* kernel_kexec - reboot the system
@@ -705,7 +705,7 @@
machine_halt();
}
-EXPORT_SYMBOL_GPL(kernel_halt);
+EXPORT_UNUSED_SYMBOL_GPL(kernel_halt); /* June 2006 */
/**
* kernel_power_off - power_off the system
@@ -1713,7 +1713,7 @@
return retval;
}
-EXPORT_SYMBOL(in_egroup_p);
+EXPORT_UNUSED_SYMBOL(in_egroup_p); /* June 2006 */
DECLARE_RWSEM(uts_sem);
next reply other threads:[~2006-06-30 11:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 11:31 Adrian Bunk [this message]
2006-07-01 3:34 ` [2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL} Andrew Morton
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=20060630113147.GL19712@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.