Commit 5477d30e841e0f707fd2daddc8cb6949858476ee

Authored by Benjamin Herrenschmidt
Committed by Linus Torvalds
1 parent 3725822f7c

[PATCH] ppc64: Export machine_power_off for therm_pm72 module

This patch puts back the export of machine_power_off() that was removed
by some janitor as it's used for emergency shutdown by the G5 thermal
control driver. Wether that driver should use kernel_power_off() instead
is debatable and a post-2.6.13 decision. In the meantime, please commit
that patch that fixes the driver for now.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

arch/ppc64/kernel/setup.c
... ... @@ -706,6 +706,8 @@
706 706 local_irq_disable();
707 707 while (1) ;
708 708 }
  709 +/* Used by the G5 thermal driver */
  710 +EXPORT_SYMBOL_GPL(machine_power_off);
709 711  
710 712 void machine_halt(void)
711 713 {