Message ID | 1407203338-12915-3-git-send-email-linux@roeck-us.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7DB6DC0338 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Aug 2014 01:51:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99C0320172 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Aug 2014 01:51:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 663652017A for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 5 Aug 2014 01:51:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XETsq-0007qD-Lq; Tue, 05 Aug 2014 01:49:48 +0000 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XETsb-0007f2-4R for linux-arm-kernel@lists.infradead.org; Tue, 05 Aug 2014 01:49:34 +0000 Received: by mail-pd0-f177.google.com with SMTP id p10so356319pdj.36 for <linux-arm-kernel@lists.infradead.org>; Mon, 04 Aug 2014 18:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=UcdGkEXIB6OpDatKvsceni6ixkEjEneUGx5Qy2BBmcU=; b=KPXM5OSt/H/5fCQ8aCfhqer5oZyKFs9iZRIowUBbxhe+zyTKzQcQO7Wd7G49fRlOlK jgOLnvLbyLFCSZk6cwgkuKQ8XUYIbgAHOFw0nBziG1rG9rWAeTgdNCdT+5zFQ8VrLPZS w/8Jn/Mt9xKaouelNhVadzJq6k4oY78wXmCxc7z511at/hp2iHFU3+YoxQ7RWziO25la dok9q7Jhh1W0XQXDw7EhFBbWUr/Qx1mcWMYCtAB5mHv8i9fZaaRGmWanRLx7zG1sxnRS a68I0jZmh/EmjSvp/II2MLd0OvYp0LMSt3lau1Cgkv48PvxOQEIenX/SXmfoE0nV5m6m n7iA== X-Received: by 10.70.98.232 with SMTP id el8mr481651pdb.119.1407203351882; Mon, 04 Aug 2014 18:49:11 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by mx.google.com with ESMTPSA id k17sm314241pdm.32.2014.08.04.18.49.10 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 Aug 2014 18:49:11 -0700 (PDT) From: Guenter Roeck <linux@roeck-us.net> To: linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 2/7] arm64: Support restart through restart handler call chain Date: Mon, 4 Aug 2014 18:48:53 -0700 Message-Id: <1407203338-12915-3-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407203338-12915-1-git-send-email-linux@roeck-us.net> References: <1407203338-12915-1-git-send-email-linux@roeck-us.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140804_184933_209303_FC165E0A X-CRM114-Status: GOOD ( 11.89 ) X-Spam-Score: -0.4 (/) Cc: Ingo Molnar <mingo@kernel.org>, Russell King <linux@arm.linux.org.uk>, Heiko Stuebner <heiko@sntech.de>, Arnd Bergmann <arnd@arndb.de>, linux-doc@vger.kernel.org, Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>, Catalin Marinas <catalin.marinas@arm.com>, Tomasz Figa <t.figa@samsung.com>, Randy Dunlap <rdunlap@infradead.org>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, Steven Rostedt <rostedt@goodmis.org>, Jonas Jensen <jonas.jensen@gmail.com>, Wim Van Sebroeck <wim@iguana.be>, Maxime Ripard <maxime.ripard@free-electrons.com>, David Woodhouse <dwmw2@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Guenter Roeck <linux@roeck-us.net> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 43b7c34..9591e60 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -174,6 +174,8 @@ void machine_restart(char *cmd) /* Now call the architecture specific reboot code. */ if (arm_pm_restart) arm_pm_restart(reboot_mode, cmd); + else + do_kernel_restart(cmd); /* * Whoops - the architecture was unable to reboot.