Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5345971rwl; Tue, 11 Apr 2023 04:15:23 -0700 (PDT) X-Google-Smtp-Source: AKy350ZYmgEtX6enfI3oURA7fr0wIaj4wPz4hTVkBQpNvZ1j+ZnqlkFlUqHtwRit0dbsWujzvAWH X-Received: by 2002:aa7:d5cb:0:b0:4fb:9fd4:6ac5 with SMTP id d11-20020aa7d5cb000000b004fb9fd46ac5mr12284171eds.14.1681211723064; Tue, 11 Apr 2023 04:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681211723; cv=none; d=google.com; s=arc-20160816; b=OtUrx1hkrv/R+GurNIkUdQGmAIChBDf32AlqYS2zAhpjECxqtPxW0tuUTFQugqX5b9 eWhA86hgOX7UlIWz6gswp2b5uL4CaG03eGuhd2mRDx2HB6RQa3vBwvYq9lPb9x8V9dAF MRyiCF/zTSQzH0wcSDnqcidRDY7ivCbCnDTY95CbBGNJ/PNvRs84/0abGfXAyxyL5n1Y D8H8tjw2RYZv8n/IeEjhX6ddL1qPHb0Qnqarbsaj2oSBdTTilp5D6HHcTQLD0asrSVJZ A8g2yKVnCPGUfVNnYku+q+s0O6svKcdr0+DFQ4iaAZSdwn2F7E+0HGpX1hipxHaaQExb LzlQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020aa7d688000000b00504b34f5002si2662222edr.342.2023.04.11.04.14.58; Tue, 11 Apr 2023 04:15:23 -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 S229910AbjDKLMx (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 Content-Transfer-Encoding: 8bit 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 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 */ -- 2.39.2 (Apple Git-143)