From patchwork Tue May 7 20:52:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 10933795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C845912 for ; Tue, 7 May 2019 20:52:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C9F2288E8 for ; Tue, 7 May 2019 20:52:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1039E28915; Tue, 7 May 2019 20:52:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B2BCF288E8 for ; Tue, 7 May 2019 20:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=WVULHo8COzqjeYGO+0KOfRewU05RQqL6goh8qugEAUI=; b=Alx b/fzdV6Sy11qilMA9Sv6Yq0mxEjDIojD98Fm9EVEQhS5SuKWBUmWp1IApOD2RwKxZJqGWUUhaKNa9 zQnLri7cJO5AWSwtqviiccoCN6WbmBSkNMWiZdoHTs2x5wAvJfMCxdGyoKiaVjDWj1B+DXRSefCvq wzy+4Tu7jm2lCwg73Fn6jfauAieHKBrgmJYpk6BbU/0aJNKsnL2BjmNcQV25QyLGPHJgQFeS+jxpH qfDF4dPI5UfO7+5Kfs6gUo3/k+nW2OCdDKd5+WVcQmpK5l5B6rIGfTkVSDIY1jsvKUvgHNdYuibhy MvgH0Xo9huTHjovPhD+SL9Vcs/OFBUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hO74n-0007vm-NS; Tue, 07 May 2019 20:52:37 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hO74k-0007vB-Sd for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2019 20:52:36 +0000 Received: by mail-pf1-x444.google.com with SMTP id y13so9260787pfm.11 for ; Tue, 07 May 2019 13:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=FZCsu76ETp0rZ0rXi+vAgG1DHkuU4ZJZHgq+GTX/TeU=; b=YAPiArlNMJBDkaS6R4dyKdz6IW6HPGijvrYEY77nrpT0RtiYVI/ag+5Pu2wgUGwo42 Dt62ElIE2Cj70zDg5l5U2dA3F8NwPho09EZ5kMdemAVcRAkryb8UIgjiSoQtTrodY6wS pB8y1FCEB+FaYbuySFo7uKAwbJlOzBIbrWgtjrvXpsvWxIZ+x/s9o+qedboWmJrnvhE0 sTh++leHrUsJiCUPsLhrIpADXMoMdIr7AmGKE1hdhAQDfrLfMyx+qwGbfvu8AzTqav4C Co2wU+rVb5/IzT2tJ95tS+CzpzS95zpLpFaa2i+ieZj+0XV7oL6YJPPpR9ViZMAhZEBN WjHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FZCsu76ETp0rZ0rXi+vAgG1DHkuU4ZJZHgq+GTX/TeU=; b=JhzBHXDrU8YWoQnpTY5U0359MRa2FYI/vmY0w5RdN4bX/3jRHdNjHjXRkk6akrwPKa +y6uLBE4wGkBD0cyKKA11eeKe97qYNC3Os1qqcW1cJW8KeTDCjC7eaRB2ihBeBVqL++/ nnOUEdQMmyzaIBxZGhE6qyKREmunzT0cJj+ccqWwzs4LQWr6f6T0slbyBR2XIeVmyC0I XQN92FTnlOZ1vQEC9nJMwVa0FXwN22bH6BUvP7HGOECVOPyntZyZM1NiL5OscUQXyWFM qxWiXwiY/wPaBu9kQA66jjSLZWNOgPH1nZx78PDo5HP5/Z++/HZYX6jFnUAvTXLSELl2 BFSw== X-Gm-Message-State: APjAAAVauCumNwgR0i54twR1Tsdzo33hKVk5r8XDWuw6/2tAKgWdWFt/ N1/ZpyOqTPN9jxsGiVWQ3NM= X-Google-Smtp-Source: APXvYqwWbLNioOJ3VoiOYrPTtL15jPigps8VxBp1q1jIpMmqAM8LVIWhwtY4EDHxbahQvfobdasYwQ== X-Received: by 2002:a65:5181:: with SMTP id h1mr42672849pgq.167.1557262353965; Tue, 07 May 2019 13:52:33 -0700 (PDT) Received: from localhost ([2601:640:2:82fb:19d3:11c4:475e:3daa]) by smtp.gmail.com with ESMTPSA id n184sm13459640pfn.21.2019.05.07.13.52.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 May 2019 13:52:32 -0700 (PDT) From: Yury Norov X-Google-Original-From: Yury Norov To: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: don't trash config with compat symbol if COMPAT is disabled Date: Tue, 7 May 2019 13:52:28 -0700 Message-Id: <20190507205228.8186-1-ynorov@marvell.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190507_135234_973989_4EFE95C5 X-CRM114-Status: GOOD ( 11.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yury Norov , Yury Norov MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yury Norov ARCH_WANT_COMPAT_IPC_PARSE_VERSION is selected unconditionally. It makes little sense if kernel is compiled without COMPAT support. Fix it. This patch makes no functional changes since all existing code which is guarded with ARCH_WANT_COMPAT_IPC_PARSE_VERSION is also guarded with COMPAT. Signed-off-by: Yury Norov --- arch/arm64/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 305b50f8f791..38e6dc6a50c8 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -65,7 +65,7 @@ config ARM64 select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_INT128 if GCC_VERSION >= 50000 || CC_IS_CLANG select ARCH_SUPPORTS_NUMA_BALANCING - select ARCH_WANT_COMPAT_IPC_PARSE_VERSION + select ARCH_WANT_COMPAT_IPC_PARSE_VERSION if COMPAT select ARCH_WANT_FRAME_POINTERS select ARCH_HAS_UBSAN_SANITIZE_ALL select ARM_AMBA