Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3341781imu; Mon, 28 Jan 2019 03:12:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN4yMLZ8BZ6t9Aukwf/N4WdC6Lg/LnExpRLFlPGmVRsmwhnTTvhZwiOjSG5H7ojrsgWlvykB X-Received: by 2002:a63:3e05:: with SMTP id l5mr12081557pga.96.1548673967862; Mon, 28 Jan 2019 03:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548673967; cv=none; d=google.com; s=arc-20160816; b=rTkwEC0JIGehglbuvudwYIVZLkiXfyjLpAbbG/R+yskcgL/7cE30y5qLk//Vpf1iFD dBx29TUFVRucL1ElXvJNCmQf9pAeohAGObncGJdIDROGARVNN5XSMYdpY0GA6UUp5FLR sCy0ffaOWT6EF55pA33Ga2l0w63jnhx47OQP31Xjb/NOWI9e1S3mQAq1lsPPbk1K3fCk ROfjV/RouQU5UjUuhiWqx0nHEcIYXUA9ltULRzswZ5QPWsOEuvsaKn5LxfXPMUmbH8nO lZXmx8bK/5jjRq8PA4pzu4WZ8zL/9BoWGT3tfVU0D2PF67r/pf0WLOI/+2ZALWqvaBTf /hGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=lTu/g+6rjaBiQZa7zP09b2Fw/f6Hr+Az+fnk760MrMc=; b=zMYHEtZ/UBYU7lo1pTAXFcLa8QQwPDkpyfwXokma7kIBggHyA8erPT7AYTGMiRtx8T chOGZUZPTRgB7ZA8KHLKHnhwbjPaKLty4IK6Iee4N98GeNpx/l06uWoR7irR95TV4HrH RtGq74WbrsBKcGIVUc0exTfbUrlaBaLogPNdj2qE6TVtkqIQzcevq5NF+Xs5vyhPZm0C le8In4mO5a2xySTKkAxdhGvF6CgDEDvxvsx9RNgs3suvbGdhlhIbUSnb9IeXt5lseQRd QkA/OOkg8RIHBmJdsVukcbqQI2DwX9fNfLtI0goPSw+SHGiQmHozmiq6+UQeiaBJnM1F anzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=rHyJI9N2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v185si1946090pfb.65.2019.01.28.03.12.32; Mon, 28 Jan 2019 03:12:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=rHyJI9N2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726984AbfA1LLZ (ORCPT + 99 others); Mon, 28 Jan 2019 06:11:25 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:54476 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726971AbfA1LLX (ORCPT ); Mon, 28 Jan 2019 06:11:23 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 43p6Pt6YkYz9v1qX; Mon, 28 Jan 2019 12:11:14 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=rHyJI9N2; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 7-G3Iex9OQWd; Mon, 28 Jan 2019 12:11:14 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 43p6Pt5XLRz9v1q3; Mon, 28 Jan 2019 12:11:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1548673874; bh=lTu/g+6rjaBiQZa7zP09b2Fw/f6Hr+Az+fnk760MrMc=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=rHyJI9N2yIUqMHklZwBUzQFfLtPCI9x0thK8ZWTR4UaR43gL26wkhzsMsjV2SxbDR /X/t8BINE72DI1te85Gx/d62VzvsS9XPHcYT9i5MW+NC1qW7Mg8T2RrKgo8mAP1tpH VE2QMc9BbV2ZRdfF7hayWUdZ03QaMjV/cRhsmyes= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 3CC928B79D; Mon, 28 Jan 2019 12:11:21 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id qKJ94DMxgRbc; Mon, 28 Jan 2019 12:11:21 +0100 (CET) Received: from po16846vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 1A7088B796; Mon, 28 Jan 2019 12:11:21 +0100 (CET) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 1698872DE6; Mon, 28 Jan 2019 11:11:21 +0000 (UTC) Message-Id: <61a12231d7a948be13046b7cbef36e63e67a1fea.1548673552.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH 05/11] powerpc/32: add START_EXCEPTION() in head_32.h To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Mon, 28 Jan 2019 11:11:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add START_EXCEPTION() in head_32.h for preparing the use of head_32.h in head_40x.S Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/head_32.h b/arch/powerpc/kernel/head_32.h index 643dd8d34aac..f77f13142410 100644 --- a/arch/powerpc/kernel/head_32.h +++ b/arch/powerpc/kernel/head_32.h @@ -72,10 +72,13 @@ /* * Exception vectors. */ -#define EXCEPTION(n, label, hdlr, xfer) \ +#define START_EXCEPTION(n, label) \ . = n; \ DO_KVM n; \ -label: \ +label: + +#define EXCEPTION(n, label, hdlr, xfer) \ + START_EXCEPTION(n, label) \ EXCEPTION_PROLOG; \ addi r3,r1,STACK_FRAME_OVERHEAD; \ xfer(n, hdlr) -- 2.13.3