Skip to content

Commit

Permalink
sh64: Add a sane pm_power_off implementation.
Browse files Browse the repository at this point in the history
sh64 wasn't providing a sensible pm_power_off(), add one,
and just wrap it to machine_power_off, which already does
the right thing.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 12, 2006
1 parent 5606014 commit 1bb99a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/sh64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ void machine_power_off(void)
enter_deep_standby();
}

void (*pm_power_off)(void) = machine_power_off;
EXPORT_SYMBOL(pm_power_off);

void show_regs(struct pt_regs * regs)
{
unsigned long long ah, al, bh, bl, ch, cl;
Expand Down

0 comments on commit 1bb99a6

Please sign in to comment.