From 5b5c3dcbbb6dd8a0cd0b102ead599684df4c81cd Mon Sep 17 00:00:00 2001
From: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Date: Thu, 23 May 2002 01:06:17 -0500
Subject: [PATCH] EXPORT_SYMBOL: Remove EXPORT_NO_SYMBOLS from arch/*

---
 arch/alpha/kernel/srm_env.c         | 1 -
 arch/i386/kernel/apm.c              | 2 --
 arch/i386/kernel/cpuid.c            | 2 --
 arch/i386/kernel/microcode.c        | 1 -
 arch/i386/kernel/msr.c              | 2 --
 arch/mips64/sgi-ip27/ip27-rtc.c     | 1 -
 arch/ppc/iSeries/rtc.c              | 1 -
 arch/ppc64/kernel/rtc.c             | 1 -
 arch/sparc64/kernel/binfmt_aout32.c | 2 --
 arch/sparc64/solaris/misc.c         | 1 -
 arch/x86_64/kernel/cpuid.c          | 2 --
 arch/x86_64/kernel/msr.c            | 2 --
 12 files changed, 18 deletions(-)

diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c
index 172780bfa1ea..6c4373e9d620 100644
--- a/arch/alpha/kernel/srm_env.c
+++ b/arch/alpha/kernel/srm_env.c
@@ -65,7 +65,6 @@
 MODULE_AUTHOR("Jan-Benedict Glaw <jbglaw@lug-owl.de>");
 MODULE_DESCRIPTION("Accessing Alpha SRM environment through procfs interface");
 MODULE_LICENSE("GPL");
-EXPORT_NO_SYMBOLS;
 
 typedef struct _srm_env {
 	char			*name;
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c
index b904d5b8f90c..7167156d834e 100644
--- a/arch/i386/kernel/apm.c
+++ b/arch/i386/kernel/apm.c
@@ -2025,5 +2025,3 @@ MODULE_PARM_DESC(idle_threshold,
 MODULE_PARM(idle_period, "i");
 MODULE_PARM_DESC(idle_period,
 	"Period (in sec/100) over which to caculate the idle percentage");
-
-EXPORT_NO_SYMBOLS;
diff --git a/arch/i386/kernel/cpuid.c b/arch/i386/kernel/cpuid.c
index 0c2bd6de08b6..546f83f03f0f 100644
--- a/arch/i386/kernel/cpuid.c
+++ b/arch/i386/kernel/cpuid.c
@@ -171,8 +171,6 @@ void __exit cpuid_exit(void)
 module_init(cpuid_init);
 module_exit(cpuid_exit)
 
-EXPORT_NO_SYMBOLS;
-
 MODULE_AUTHOR("H. Peter Anvin <hpa@zytor.com>");
 MODULE_DESCRIPTION("x86 generic CPUID driver");
 MODULE_LICENSE("GPL");
diff --git a/arch/i386/kernel/microcode.c b/arch/i386/kernel/microcode.c
index 64cb55a8f852..328febf1f679 100644
--- a/arch/i386/kernel/microcode.c
+++ b/arch/i386/kernel/microcode.c
@@ -80,7 +80,6 @@ static spinlock_t microcode_update_lock = SPIN_LOCK_UNLOCKED;
 MODULE_DESCRIPTION("Intel CPU (IA-32) microcode update driver");
 MODULE_AUTHOR("Tigran Aivazian <tigran@veritas.com>");
 MODULE_LICENSE("GPL");
-EXPORT_NO_SYMBOLS;
 
 #define MICRO_DEBUG 0
 
diff --git a/arch/i386/kernel/msr.c b/arch/i386/kernel/msr.c
index 3046e64a44f2..e125a183e33c 100644
--- a/arch/i386/kernel/msr.c
+++ b/arch/i386/kernel/msr.c
@@ -272,8 +272,6 @@ void __exit msr_exit(void)
 module_init(msr_init);
 module_exit(msr_exit)
 
-EXPORT_NO_SYMBOLS;
-
 MODULE_AUTHOR("H. Peter Anvin <hpa@zytor.com>");
 MODULE_DESCRIPTION("x86 generic MSR driver");
 MODULE_LICENSE("GPL");
diff --git a/arch/mips64/sgi-ip27/ip27-rtc.c b/arch/mips64/sgi-ip27/ip27-rtc.c
index a44ad0fccbad..fb81dcec686d 100644
--- a/arch/mips64/sgi-ip27/ip27-rtc.c
+++ b/arch/mips64/sgi-ip27/ip27-rtc.c
@@ -222,7 +222,6 @@ static void __exit rtc_exit (void)
 
 module_init(rtc_init);
 module_exit(rtc_exit);
-EXPORT_NO_SYMBOLS;
 
 /*
  *	Info exported via "/proc/rtc".
diff --git a/arch/ppc/iSeries/rtc.c b/arch/ppc/iSeries/rtc.c
index 78461ff14d6f..da4a688eddb8 100644
--- a/arch/ppc/iSeries/rtc.c
+++ b/arch/ppc/iSeries/rtc.c
@@ -209,7 +209,6 @@ static void __exit rtc_exit (void)
 
 module_init(rtc_init);
 module_exit(rtc_exit);
-EXPORT_NO_SYMBOLS;
 
 /*
  *	Info exported via "/proc/driver/rtc".
diff --git a/arch/ppc64/kernel/rtc.c b/arch/ppc64/kernel/rtc.c
index db4917d8cb66..936ceb6ff627 100644
--- a/arch/ppc64/kernel/rtc.c
+++ b/arch/ppc64/kernel/rtc.c
@@ -211,7 +211,6 @@ static void __exit rtc_exit (void)
 
 module_init(rtc_init);
 module_exit(rtc_exit);
-EXPORT_NO_SYMBOLS;
 
 /*
  *	Info exported via "/proc/driver/rtc".
diff --git a/arch/sparc64/kernel/binfmt_aout32.c b/arch/sparc64/kernel/binfmt_aout32.c
index 8a1ac5971911..dcae86a7228b 100644
--- a/arch/sparc64/kernel/binfmt_aout32.c
+++ b/arch/sparc64/kernel/binfmt_aout32.c
@@ -408,7 +408,5 @@ static void __exit exit_aout32_binfmt(void)
 	unregister_binfmt(&aout32_format);
 }
 
-EXPORT_NO_SYMBOLS;
-
 module_init(init_aout32_binfmt);
 module_exit(exit_aout32_binfmt);
diff --git a/arch/sparc64/solaris/misc.c b/arch/sparc64/solaris/misc.c
index 3a122801e2fb..f11a845a7b80 100644
--- a/arch/sparc64/solaris/misc.c
+++ b/arch/sparc64/solaris/misc.c
@@ -725,7 +725,6 @@ extern int init_socksys(void);
 
 MODULE_AUTHOR("Jakub Jelinek (jj@ultra.linux.cz), Patrik Rak (prak3264@ss1000.ms.mff.cuni.cz)");
 MODULE_DESCRIPTION("Solaris binary emulation module");
-EXPORT_NO_SYMBOLS;
 
 #ifdef __sparc_v9__
 extern u32 tl0_solaris[8];
diff --git a/arch/x86_64/kernel/cpuid.c b/arch/x86_64/kernel/cpuid.c
index 49b969f502d5..a0b49c3f64d1 100644
--- a/arch/x86_64/kernel/cpuid.c
+++ b/arch/x86_64/kernel/cpuid.c
@@ -171,8 +171,6 @@ void __exit cpuid_exit(void)
 module_init(cpuid_init);
 module_exit(cpuid_exit)
 
-EXPORT_NO_SYMBOLS;
-
 MODULE_AUTHOR("H. Peter Anvin <hpa@zytor.com>");
 MODULE_DESCRIPTION("x86 generic CPUID driver");
 MODULE_LICENSE("GPL");
diff --git a/arch/x86_64/kernel/msr.c b/arch/x86_64/kernel/msr.c
index 5636ed5586a8..1f854c99967d 100644
--- a/arch/x86_64/kernel/msr.c
+++ b/arch/x86_64/kernel/msr.c
@@ -272,8 +272,6 @@ void __exit msr_exit(void)
 module_init(msr_init);
 module_exit(msr_exit)
 
-EXPORT_NO_SYMBOLS;
-
 MODULE_AUTHOR("H. Peter Anvin <hpa@zytor.com>");
 MODULE_DESCRIPTION("x86 generic MSR driver");
 MODULE_LICENSE("GPL");
-- 
2.30.9