From patchwork Tue Apr 11 11:12:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 81894 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2490519vqo; Tue, 11 Apr 2023 04:15:51 -0700 (PDT) X-Google-Smtp-Source: AKy350bZXgED9sy3VXVTkRi9V5CqVBYFR5+9zIOMjLuARYMnUd+xhHCXsh0PmYv5uQQ6wv5BHL8j X-Received: by 2002:a50:ed05:0:b0:504:9a52:ea52 with SMTP id j5-20020a50ed05000000b005049a52ea52mr7781923eds.35.1681211751491; Tue, 11 Apr 2023 04:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681211751; cv=none; d=google.com; s=arc-20160816; b=tUj/Kc3JHpENXbkkUnYecnTFyXAd+8Uo1ZtMnyj/9mTos8nA9h9pusWsfuLh5Y/YFC t2M8x2v1ZgfobEg6UcL7qaequ9Uf5KtbJBSiYTg9HzNu8jedMh86BFFYQDwZZbXvllRE F1YYelRO65hmg+bxel7RXtS1gxxKe+TLrBfbb6ZktVLz2CekSDo7cefwjJp+9GeFw39Q h+yPAFWd78uGkXlUZZaRpdbAZATSipZSlCnU1aZkpzQZJPBemGYxC9+DizYDrA369x7N I6GUv1rfBU60eIRiMZpUIX/DfdTQWNLK4qZkrueOHf6UTjwKXuzfFTldELgnSHoRnT5V Q8HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=GnOjAlW4cFLZB5e9fEbCpcj/9ZFTx5uDLBq5V/Tp2os=; b=knXAftIkGthFMH/fgJMxzXgjfZoAoc1USBv1KhR6dohdDvYbFl8slDXQe0Cfq7wCJF JFW+qdxlWgv8gZz3ZtuZSP7eQO/fVfFrR8WeFAt8nQWzyr2qJHbjlrIDSE4Tl14Z/gnQ BFMZ9WZAqoPyp8WcGJwLU3yHCMIVZkOd9x/Xf/HnEQgoNlSWoDHoHVfrbFIEHkJYcS8g j+htDHX0/JUOu9JSZGtpjSteZXKJBS1sQXAQJ7Wr0YHUuTlB0ge0jMVeXk1fFrsQcrjG 08AdRtVGoL4LqxneezhOLJxrD2EvHkjtEwGz1J3HktWJjS5BTljCUzHPekSIY2i1YcLb +Jww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=QOSGlwex; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=FhxuDEfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020aa7d907000000b004cebb5c1590si11787595edr.446.2023.04.11.04.15.27; Tue, 11 Apr 2023 04:15:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=QOSGlwex; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=FhxuDEfj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229922AbjDKLMx (ORCPT + 99 others); Tue, 11 Apr 2023 07:12:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbjDKLMp (ORCPT ); Tue, 11 Apr 2023 07:12:45 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 924EF3AAB; Tue, 11 Apr 2023 04:12:44 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 08E1E5C00DD; Tue, 11 Apr 2023 07:12:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 11 Apr 2023 07:12:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1681211564; x= 1681297964; bh=GnOjAlW4cFLZB5e9fEbCpcj/9ZFTx5uDLBq5V/Tp2os=; b=Q OSGlwexUjNVIregAIWh1tGyM1SWlrvF0nbRTagbV3kW2dBwcHNYWXnM6uvkljuAP wjHJty+rSaTyQUuWkRC3ZE6zaMG9qQqlRSVEZxsDc8w/0dL7RdDrB0U0LzR61vX5 4dvsPUAmJ14nUTDxGGeXlKtebNSFEI6+8CsKVTx4cDg3sOG5S48c6knKV5+xygiI Qv8A+VgWAq+0W2OoR4xfXM6pJBKF67COO/d5wP6uOgPydrnpoKhtDnv1hQQJxJ5f UnvFdVX/DaLF8zrNEQKaXQo1JfgkIV9GVH6XiaIVQMK6T4PL1oNHPK6b/voZUe3l lfTnkspB0/KDtI8tH/Flw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1681211564; x= 1681297964; bh=GnOjAlW4cFLZB5e9fEbCpcj/9ZFTx5uDLBq5V/Tp2os=; b=F hxuDEfjA1+wYY8Io5RSw5kmxLpSxQVJ+Y1PCe82gq/D+dnUZavBZnwqyvlCF7t48 YjPh73nIJRTW1vznQ+Luq68+eVZpP09HrmkwG1HCzepfBJnxBh8197YVO6zO1L57 fAZTpSu1Y9K1oRqq2hYL1OMeClESS1nZKrTfHQaDnP66+YGE/04l5QfTMn6oDZ8k xBVdsSDbimH/VyCrU7qcy/Svizidfkgi9zjET6pDUBWK7Vrx/O4Ml4OhyELqltQJ SB/UAbiTsEid8fhI0x5BklvWDDjSrANjGUhUUsk2jyQ3xf0a1gMc4Js+vBVgfeRY 79uCzRJfp7x1jp2vxEAvA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekgedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghn ghesfhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepfeeludefheegvdeuvd dvgeekgfdvtdettdelieeihfegtedugeekhfdvhfejfedtnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhi hgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Apr 2023 07:12:42 -0400 (EDT) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tsbogend@alpha.franken.de, and@gmx.com, Jiaxun Yang Subject: [PATCH 4/8] MIPS: asmmacro: Restore fp macro after undef Date: Tue, 11 Apr 2023 12:12:21 +0100 Message-Id: <20230411111225.55725-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.39.2 (Apple Git-143) In-Reply-To: <20230411111225.55725-1-jiaxun.yang@flygoat.com> References: <20230411111225.55725-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762878293966393202?= X-GMAIL-MSGID: =?utf-8?q?1762878293966393202?= fp macro is used by several place to reference frame pointer. Restore macro at end of file with {push,pop}_macro pragma to avoid break other assembly files. Signed-off-by: Jiaxun Yang --- arch/mips/include/asm/asmmacro.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/include/asm/asmmacro.h b/arch/mips/include/asm/asmmacro.h index 2491a6c68390..de9688911cae 100644 --- a/arch/mips/include/asm/asmmacro.h +++ b/arch/mips/include/asm/asmmacro.h @@ -20,6 +20,7 @@ #endif /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ +#pragma push_macro("fp") #undef fp /* @@ -655,4 +656,6 @@ .set pop .endm +#pragma pop_macro("fp") + #endif /* _ASM_ASMMACRO_H */