From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bh-25.webhostbox.net (bh-25.webhostbox.net [208.91.199.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 299881A0029 for ; Sat, 25 Oct 2014 02:54:49 +1100 (AEDT) Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1XhhCQ-002Hrc-72 for linuxppc-dev@lists.ozlabs.org; Fri, 24 Oct 2014 15:54:46 +0000 Date: Fri, 24 Oct 2014 08:53:40 -0700 From: Guenter Roeck To: James Hogan Subject: Re: [PATCH v2 08/47] kernel: Move pm_power_off to common code Message-ID: <20141024155340.GA22426@roeck-us.net> References: <1413864783-3271-1-git-send-email-linux@roeck-us.net> <1413864783-3271-9-git-send-email-linux@roeck-us.net> <544A2017.7020804@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <544A2017.7020804@imgtec.com> Cc: linux-mips@linux-mips.org, linux-m68k@vger.kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, linux@openrisc.net, sparclinux@vger.kernel.org, linux-s390@vger.kernel.org, linux-am33-list@redhat.com, linux-c6x-dev@linux-c6x.org, linux-hexagon@vger.kernel.org, x86@kernel.org, xen-devel@lists.xenproject.org, linux-xtensa@linux-xtensa.org, user-mode-linux-devel@lists.sourceforge.net, linux-pm@vger.kernel.org, adi-buildroot-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net, linux-metag@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, linux-cris-kernel@axis.com, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux390@de.ibm.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Oct 24, 2014 at 10:47:03AM +0100, James Hogan wrote: > Hi Guenter, > > On 21/10/14 05:12, Guenter Roeck wrote: > > pm_power_off is defined for all architectures. Move it to common code. > > > > Have all architectures call do_kernel_power_off instead of pm_power_off. > > Some architectures point pm_power_off to machine_power_off. For those, > > call do_kernel_power_off from machine_power_off instead. > > > > Acked-by: David Vrabel > > Acked-by: Geert Uytterhoeven > > Acked-by: Hirokazu Takata > > Acked-by: Jesper Nilsson > > Acked-by: Max Filippov > > Acked-by: Rafael J. Wysocki > > Acked-by: Richard Weinberger > > Acked-by: Xuetao Guan > > For metag: > Acked-by: James Hogan > Thanks! Guenter