diff options
author | Aaron J Young <ayoung@sgi.com> | 2005-04-25 16:11:14 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-04-25 16:11:14 -0400 |
commit | c1298c5c7e5763a3b2fd4a9535d474ff6e54cd53 (patch) | |
tree | 9235aeedfff44ddb7330ce119ad285bf92e65253 /crypto | |
parent | e1e19747ecce9117610b8f3b57a3e95734230319 (diff) |
[IA64-SGI] Altix: enable poweroff
This patch adds the necessary "hook" to allow SGI/SN
machines to perform a system power off upon a
'init 0', 'halt -p', 'poweroff' or 'shutdown -h'.
The "hook" is to set the pm_power_off callback
to ia64_sn_power_down(). pm_power_off is checked
in machine_power_off()/do_poweroff() and, if set, is executed.
ia64_sn_power_down() is a function already present (but not
used currently) in the sn kernel.
ia64_sn_power_down() makes a SAL call to execute the
power off.
Signed-off-by: Aaron J Young <ayoung@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions