From nobody Sun Sep 14 22:48:28 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF7BEC6FA89 for ; Tue, 13 Sep 2022 14:34:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234113AbiIMOez (ORCPT ); Tue, 13 Sep 2022 10:34:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234282AbiIMOdx (ORCPT ); Tue, 13 Sep 2022 10:33:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F1AB21E31; Tue, 13 Sep 2022 07:19:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0FE8D614C1; Tue, 13 Sep 2022 14:18:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 250B7C433D6; Tue, 13 Sep 2022 14:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078682; bh=D2HyxxSpSa5YTEjtXuzgAvSwiiYUGhrSmQTZJg4P7MA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mRW4/L4+Vx3lxy2EvQpysxTPBc9+mN4t4soeEXVwIJp9Cs6Tym5w3gLMxa6a5yzcO dn9oSc/ow7JLRQUyQAk/yHjStC+fmT8U/fQGC6OWOtbl1ZlI0i+IbuB090X6KL+vwX yikbJNZxb3+PN6PfX3TAxBtk0Kfl64W31sTMtfgs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller , Sasha Levin Subject: [PATCH 5.15 015/121] Revert "parisc: Show error if wrong 32/64-bit compiler is being used" Date: Tue, 13 Sep 2022 16:03:26 +0200 Message-Id: <20220913140357.998691943@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140357.323297659@linuxfoundation.org> References: <20220913140357.323297659@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Helge Deller [ Upstream commit b4b18f47f4f9682fbf5827682645da7c8dde8f80 ] This reverts commit b160628e9ebcdc85d0db9d7f423c26b3c7c179d0. There is no need any longer to have this sanity check, because the previous commit ("parisc: Make CONFIG_64BIT available for ARCH=3Dparisc64 only") prevents that CONFIG_64BIT is set if ARCH=3D=3Dparisc. Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- arch/parisc/include/asm/bitops.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/parisc/include/asm/bitops.h b/arch/parisc/include/asm/bit= ops.h index 5779d463b341f..aa4e883431c1a 100644 --- a/arch/parisc/include/asm/bitops.h +++ b/arch/parisc/include/asm/bitops.h @@ -12,14 +12,6 @@ #include #include =20 -/* compiler build environment sanity checks: */ -#if !defined(CONFIG_64BIT) && defined(__LP64__) -#error "Please use 'ARCH=3Dparisc' to build the 32-bit kernel." -#endif -#if defined(CONFIG_64BIT) && !defined(__LP64__) -#error "Please use 'ARCH=3Dparisc64' to build the 64-bit kernel." -#endif - /* See http://marc.theaimsgroup.com/?t=3D108826637900003 for discussion * on use of volatile and __*_bit() (set/clear/change): * *_bit() want use of volatile. --=20 2.35.1