From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759959AbaCTVgf (ORCPT ); Thu, 20 Mar 2014 17:36:35 -0400 Received: from mail-we0-f179.google.com ([74.125.82.179]:61625 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759896AbaCTVgc (ORCPT ); Thu, 20 Mar 2014 17:36:32 -0400 MIME-Version: 1.0 In-Reply-To: <20140320213502.795a5d3c@alan.etchedpixels.co.uk> References: <1395348795-8554-1-git-send-email-sebastian.capella@linaro.org> <1395348795-8554-2-git-send-email-sebastian.capella@linaro.org> <20140320212336.GA17368@amd.pavel.ucw.cz> <20140320213502.795a5d3c@alan.etchedpixels.co.uk> Date: Thu, 20 Mar 2014 14:36:31 -0700 Message-ID: Subject: Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL From: Sebastian Capella To: One Thousand Gnomes Cc: Pavel Machek , Linux Kernel , "linux-pm@vger.kernel.org" , "linaro-kernel@lists.linaro.org" , Len Brown , "Rafael J. Wysocki" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Pavel and Alan for your comments! I'll rework and try again. Sebastian On 20 March 2014 14:35, One Thousand Gnomes wrote: >> if (pm_power_off) >> pm_power_off(); >> } >> >> ## It really should do while (1) here. > > while(1) > cpu_relax(); > > or similar at minimum. > > Alan