From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: chris@zankel.net, uclinux-v850@lsi.nec.co.jp,
linux-kernel@vger.kernel.org
Subject: [2.6 patch] add missing pm_power_off's
Date: Sat, 4 Mar 2006 00:29:38 +0100 [thread overview]
Message-ID: <20060303232938.GE9295@stusta.de> (raw)
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
reply other threads:[~2006-03-03 23:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060303232938.GE9295@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=chris@zankel.net \
--cc=linux-kernel@vger.kernel.org \
--cc=uclinux-v850@lsi.nec.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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