add missing pm_power_off's
PATCH 1/1 add missing pm_power_off's
This untested patch adds the missing pm_power_off's for the h8300, v850 and xtensa architectures.
Signed-off-by Adrian Bunk <[email protected]>
---
@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(+)
arch/h8300/kernel/process.c renamed from arch/h8300/kernel/process.c.old +3 -0
@@ -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);/*
arch/v850/kernel/process.c renamed from arch/v850/kernel/process.c.old +3 -0
@@ -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 );
arch/xtensa/kernel/process.c renamed from arch/xtensa/kernel/process.c.old +3 -0
@@ -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