Skip to contentSkip to conversation

swsusp: kill useless exports

PATCH Pavel Machek 2 participants 3 messages Jun 25, 2004 – Jun 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

These exports seem totally unneccessary as swsusp can't be module anyway. Idea by Patrick Mochel. Please apply,
Pavel

arch/i386/power/cpu.c renamed from /arch/i386/power/cpu.c +0 -4
@@ -147,7 +147,3 @@
 {
 	__restore_processor_state(&saved_context);
 }
-
-
-EXPORT_SYMBOL(save_processor_state);
-EXPORT_SYMBOL(restore_processor_state);
Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
#1 lore raw
Quoted 10 lines · Pavel Machek

Hi!

These exports seem totally unneccessary as swsusp can't be module anyway. Idea by Patrick Mochel. Please apply,
Pavel

arch/i386/power/cpu.c line 153

Quoted 7 lines
arch/i386/power/cpu.c renamed from /arch/i386/power/cpu.c +0 -4
@@ -147,7 +147,3 @@
 {
 	__restore_processor_state(&saved_context);
 }
-
-
-EXPORT_SYMBOL(save_processor_state);
-EXPORT_SYMBOL(restore_processor_state);

These are called from apm.c, which can be built as a module.

(grep!)

#2 lore raw

Hi!

Quoted 17 lines
Quoted 7 lines

These exports seem totally unneccessary as swsusp can't be module anyway. Idea by Patrick Mochel. Please apply,
Pavel

arch/i386/power/cpu.c line 153

Quoted 7 lines
arch/i386/power/cpu.c renamed from /arch/i386/power/cpu.c +0 -4
@@ -147,7 +147,3 @@
 {
 	__restore_processor_state(&saved_context);
 }
-
-
-EXPORT_SYMBOL(save_processor_state);
-EXPORT_SYMBOL(restore_processor_state);

These are called from apm.c, which can be built as a module.

Quoted 1 line

(grep!)

Ouch, sorry about that, I'll add a comment so this "cleanup" does not came up in future.
Pavel

Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!