* [2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL}
@ 2006-06-30 11:31 Adrian Bunk
2006-07-01 3:34 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-06-30 11:31 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL}
2006-06-30 11:31 [2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL} Adrian Bunk
@ 2006-07-01 3:34 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2006-07-01 3:34 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
On Fri, 30 Jun 2006 13:31:47 +0200
Adrian Bunk <bunk@stusta.de> wrote:
> This patch marks unused exports as EXPORT_UNUSED_SYMBOL{,_GPL}.
>
> ..
>
> -EXPORT_SYMBOL_GPL(kernel_restart);
> +EXPORT_UNUSED_SYMBOL_GPL(kernel_restart); /* June 2006 */
> -EXPORT_SYMBOL_GPL(kernel_halt);
> +EXPORT_UNUSED_SYMBOL_GPL(kernel_halt); /* June 2006 */
These are grouped with kernel_power_off() which remains exported.
> -EXPORT_SYMBOL(in_egroup_p);
> +EXPORT_UNUSED_SYMBOL(in_egroup_p); /* June 2006 */
And this is grouped with in_group_p, which remains exported.
Please drop.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-01 3:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 11:31 [2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL} Adrian Bunk
2006-07-01 3:34 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox