* [2.6 patch] add missing pm_power_off's
@ 2006-03-03 23:29 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-03-03 23:29 UTC (permalink / raw)
To: Andrew Morton; +Cc: chris, uclinux-v850, linux-kernel
This untested patch adds the missing pm_power_off's for the h8300, v850
and xtensa architectures.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
@Andrew:
Please apply for the next -mm.
The build on these architectures is anyway broken due to this issue, and
I'll check at http://l4x.org/k/ whether this patch really fixes it.
arch/h8300/kernel/process.c | 3 +++
arch/v850/kernel/process.c | 3 +++
arch/xtensa/kernel/process.c | 3 +++
3 files changed, 9 insertions(+)
--- linux-2.6.16-rc5-mm2-full/arch/h8300/kernel/process.c.old 2006-03-04 00:24:12.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/arch/h8300/kernel/process.c 2006-03-04 00:24:59.000000000 +0100
@@ -45,6 +45,9 @@
#include <asm/setup.h>
#include <asm/pgtable.h>
+void (*pm_power_off)(void) = NULL;
+EXPORT_SYMBOL(pm_power_off);
+
asmlinkage void ret_from_fork(void);
/*
--- linux-2.6.16-rc5-mm2-full/arch/v850/kernel/process.c.old 2006-03-04 00:25:16.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/arch/v850/kernel/process.c 2006-03-04 00:25:30.000000000 +0100
@@ -30,6 +30,9 @@
#include <asm/system.h>
#include <asm/pgtable.h>
+void (*pm_power_off)(void) = NULL;
+EXPORT_SYMBOL(pm_power_off);
+
extern void ret_from_fork (void);
--- linux-2.6.16-rc5-mm2-full/arch/xtensa/kernel/process.c.old 2006-03-04 00:25:43.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/arch/xtensa/kernel/process.c 2006-03-04 00:26:02.000000000 +0100
@@ -64,6 +64,9 @@
struct task_struct *current_set[NR_CPUS] = {&init_task, };
+void (*pm_power_off)(void) = NULL;
+EXPORT_SYMBOL(pm_power_off);
+
#if XCHAL_CP_NUM > 0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-03 23:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-03 23:29 [2.6 patch] add missing pm_power_off's Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome