powerpc: Factor out common code in setup-common.c
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Thu, 28 Jul 2016 23:07:16 +0000 (16:07 -0700)
committerScott Wood <oss@buserror.net>
Sun, 25 Sep 2016 05:06:39 +0000 (00:06 -0500)
commitd0d738a41474a75b686b2a0b9c1a62928556e673
treeecf551e30a6cf729ec26b1260e9f10075967c8ca
parent625f3eea40024d0fc6562fc737761bba696c662b
powerpc: Factor out common code in setup-common.c

Factor out a small bit of common code in machine_restart(),
machine_power_off() and machine_halt().

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/kernel/setup-common.c