diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-01-30 08:23:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-30 11:39:20 -0500 |
commit | 89eb1693f975eddafd475782ee857d98f411d10d (patch) | |
tree | c513e68025bb6286664a671426a2bc74a9cf460f /arch | |
parent | a06c39d2577cda7d7a1baaa45c29e6f24000a2a0 (diff) |
[PATCH] missing exports of pm_power_off() on alpha and sparc32
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/process.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index 3370e6faeae0..c15186390693 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c | |||
@@ -47,6 +47,7 @@ | |||
47 | * Power off function, if any | 47 | * Power off function, if any |
48 | */ | 48 | */ |
49 | void (*pm_power_off)(void) = machine_power_off; | 49 | void (*pm_power_off)(void) = machine_power_off; |
50 | EXPORT_SYMBOL(pm_power_off); | ||
50 | 51 | ||
51 | void | 52 | void |
52 | cpu_idle(void) | 53 | cpu_idle(void) |
diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c index 89a28cc018c9..113bd48a89bd 100644 --- a/arch/sparc/kernel/process.c +++ b/arch/sparc/kernel/process.c | |||
@@ -54,6 +54,7 @@ void (*pm_idle)(void); | |||
54 | * handler when auxio is not present-- unused for now... | 54 | * handler when auxio is not present-- unused for now... |
55 | */ | 55 | */ |
56 | void (*pm_power_off)(void) = machine_power_off; | 56 | void (*pm_power_off)(void) = machine_power_off; |
57 | EXPORT_SYMBOL(pm_power_off); | ||
57 | 58 | ||
58 | /* | 59 | /* |
59 | * sysctl - toggle power-off restriction for serial console | 60 | * sysctl - toggle power-off restriction for serial console |