From nobody Fri Dec 19 07:46:18 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 3CB31C54EE9 for ; Tue, 13 Sep 2022 14:12:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232902AbiIMOMm (ORCPT ); Tue, 13 Sep 2022 10:12:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232604AbiIMOMI (ORCPT ); Tue, 13 Sep 2022 10:12:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7E3B1EC40; Tue, 13 Sep 2022 07:09: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 ams.source.kernel.org (Postfix) with ESMTPS id 691BAB80EFC; Tue, 13 Sep 2022 14:09:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D73BCC433C1; Tue, 13 Sep 2022 14:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078186; bh=xGNcFDDt6V15LLpcLKZBhSPZxEQpN6bnSJ9NyfqZQE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KHBCtuAkn149Cn6kIkN9qWVTRRl/yxePUvG0clUnMO1RJbgKMNM09sKatDmAAD5kk l/DUk9HPT9gFHtzB+4VLmIlmCVgK+kpdWw8csdyabwuU1RYSOcbVzmpMqL9L6KXgWj WBsa44VoJ07UF2e+z5M9sMsAztcr996DfIWBSKDY= 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.19 019/192] Revert "parisc: Show error if wrong 32/64-bit compiler is being used" Date: Tue, 13 Sep 2022 16:02:05 +0200 Message-Id: <20220913140410.878308100@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140410.043243217@linuxfoundation.org> References: <20220913140410.043243217@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 56ffd260c669b..0ec9cfc5131fc 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