From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Nilsson Subject: Re: [PATCH 08/44] kernel: Move pm_power_off to common code Date: Wed, 8 Oct 2014 09:25:45 +0200 Message-ID: <20141008072545.GA30087@axis.com> References: <1412659726-29957-1-git-send-email-linux@roeck-us.net> <1412659726-29957-9-git-send-email-linux@roeck-us.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1412659726-29957-9-git-send-email-linux@roeck-us.net> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Guenter Roeck Cc: "linux-kernel@vger.kernel.org" , "adi-buildroot-devel@lists.sourceforge.net" , "devel@driverdev.osuosl.org" , "devicetree@vger.kernel.org" , "lguest@lists.ozlabs.org" , "linux-acpi@vger.kernel.org" , "linux-alpha@vger.kernel.org" , "linux-am33-list@redhat.com" , linux-cris-kernel , "linux-efi@vger.kernel.org" , "linux-hexagon@vger.kernel.org" , "linux-m32r-ja@ml.linux-m32r.org" , "linuxppc-dev@lists.ozlabs.org" List-Id: devicetree@vger.kernel.org On Tue, Oct 07, 2014 at 07:28:10AM +0200, Guenter Roeck wrote: > pm_power_off is defined for all architectures. Move it to common code. > > Have all architectures call do_kernel_poweroff instead of pm_power_off. > Some architectures point pm_power_off to machine_power_off. For those, > call do_kernel_poweroff from machine_power_off instead. For the CRIS parts: > arch/cris/kernel/process.c | 4 +--- Acked-by: Jesper Nilsson /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com