public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] i386: unexport machine_id
@ 2007-08-14 21:22 Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2007-08-14 21:22 UTC (permalink / raw)
  To: linux-kernel

This patch removes the unused EXPORT_SYMBOL(machine_id).

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
--- a/arch/i386/kernel/setup.c
+++ b/arch/i386/kernel/setup.c
@@ -86,9 +86,6 @@ unsigned long mmu_cr4_features;
 
 /* for MCA, but anyone else can use it if they want */
 unsigned int machine_id;
-#ifdef CONFIG_MCA
-EXPORT_SYMBOL(machine_id);
-#endif
 unsigned int machine_submodel_id;
 unsigned int BIOS_revision;
 unsigned int mca_pentium_flag;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [2.6 patch] i386: unexport machine_id
@ 2007-08-27 21:28 Adrian Bunk
  2007-08-28  8:07 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2007-08-27 21:28 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

This patch removes the unused EXPORT_SYMBOL(machine_id).

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 14 Aug 2007

--- a/arch/i386/kernel/setup.c
+++ b/arch/i386/kernel/setup.c
@@ -86,9 +86,6 @@ unsigned long mmu_cr4_features;
 
 /* for MCA, but anyone else can use it if they want */
 unsigned int machine_id;
-#ifdef CONFIG_MCA
-EXPORT_SYMBOL(machine_id);
-#endif
 unsigned int machine_submodel_id;
 unsigned int BIOS_revision;
 unsigned int mca_pentium_flag;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6 patch] i386: unexport machine_id
  2007-08-27 21:28 [2.6 patch] i386: unexport machine_id Adrian Bunk
@ 2007-08-28  8:07 ` Andrew Morton
  2007-08-28 13:57   ` Arjan van de Ven
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2007-08-28  8:07 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Mon, 27 Aug 2007 23:28:08 +0200 Adrian Bunk <bunk@kernel.org> wrote:

> This patch removes the unused EXPORT_SYMBOL(machine_id).
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> 
> This patch has been sent on:
> - 14 Aug 2007
> 
> --- a/arch/i386/kernel/setup.c
> +++ b/arch/i386/kernel/setup.c
> @@ -86,9 +86,6 @@ unsigned long mmu_cr4_features;
>  
>  /* for MCA, but anyone else can use it if they want */
>  unsigned int machine_id;
> -#ifdef CONFIG_MCA
> -EXPORT_SYMBOL(machine_id);
> -#endif
>  unsigned int machine_submodel_id;
>  unsigned int BIOS_revision;
>  unsigned int mca_pentium_flag;

You know my position on removal of exports with no warning.

If the relevant maintainer chooses to apply the patch then ho hum I have
other things to think about.  Your best shot at getting this sort of thing
merged would be to cc the appropriate maintainer.

Or, better, use __deprecated_for_modules.  That's what it was added for.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [2.6 patch] i386: unexport machine_id
  2007-08-28  8:07 ` Andrew Morton
@ 2007-08-28 13:57   ` Arjan van de Ven
  0 siblings, 0 replies; 4+ messages in thread
From: Arjan van de Ven @ 2007-08-28 13:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Adrian Bunk, linux-kernel

On Tue, 28 Aug 2007 01:07:41 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> You know my position on removal of exports with no warning.

I know it (and don't quite agree but ok)
> 
> If the relevant maintainer chooses to apply the patch then ho hum I
> have other things to think about.  Your best shot at getting this
> sort of thing merged would be to cc the appropriate maintainer.
> 
> Or, better, use __deprecated_for_modules.  That's what it was added
> for. -

and/or use EXPORT_UNUSED_SYMBOL so that people at least have the option
to not suffer the overhead *now*.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-28 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 21:28 [2.6 patch] i386: unexport machine_id Adrian Bunk
2007-08-28  8:07 ` Andrew Morton
2007-08-28 13:57   ` Arjan van de Ven
  -- strict thread matches above, loose matches on Subject: below --
2007-08-14 21:22 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox