Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1872264pxb; Fri, 10 Sep 2021 16:42:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqer3LW0cNrRUkbGtm5wLEhR4lkMENuX+CUCMa8eGf2MpEopMh0eFTTLa2HI6tdX16RZpk X-Received: by 2002:a6b:6a14:: with SMTP id x20mr201639iog.177.1631317342674; Fri, 10 Sep 2021 16:42:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631317342; cv=none; d=google.com; s=arc-20160816; b=iCIzz4r8VEUPLC6Dz/GEUG/xVWnzKVB+T2BUj1icDu+gr9uL9FBuLi1XqoLxTWpHhC Ha37Htofp+QRqD90qB+vLcJXf9mDkQ5cF6AJMKXoISzqLF9my2gTWxFeYdLGfyQlIw70 G44ODVW+Cls+qZuYPQT+hUW9j6ZPB2p31T24RZnHZNlKp29OXaM3y6vvnEO2vsM7a+/Y JIGmBBd6rTPt7XrlDEaQmxZ7oP2nHCVMS3vkEDwCMoRfaqGGiOxJQ6OyapDagCodPlwG 0U8QTBsRGHJxCT189qVuk0GEKzCOJqVDT+KrSUVVf/F7EvtZcleJ5Uf2WyVMmLZHHjmv FJ4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=38/p5aKRxAN8lvaZDp0zhtUI6Snq8bGJp4KjVNrFxmM=; b=oGALZEYlj/IpmKXsCARjgMQxZ921e9QuVCZhjhDKIaFrbE1b2AF0UNZ22yifN9Vz2B TqYRFzHBIddVWqFlxm1CgiRjpi3aH5DyHkf1kPLSxuFUM/dgMHfmB6RJBma5mA2cZbt0 +TNYNcyO4I7SrfsEjOlENuzduVcxXLKVDsRWynxI7LmwdsrGqit529K4ODvTDw3SiJvr 8oX7H17XV0YCCvaBG+D0+HzGIUIQCKbpeJCF4jubReF97vUbjAHSZXAcByy60iZi8D/8 RQ5mWXdBBskJSAZwigoTptLyVouRnWRU1LRg4lBjgc3fBL6wrQ3N69p/xVS7JT8SA+cr u4lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="ClMvaE/j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si50584ilc.6.2021.09.10.16.42.11; Fri, 10 Sep 2021 16:42:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="ClMvaE/j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234860AbhIJXmO (ORCPT + 99 others); Fri, 10 Sep 2021 19:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234873AbhIJXmL (ORCPT ); Fri, 10 Sep 2021 19:42:11 -0400 Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F555C061764 for ; Fri, 10 Sep 2021 16:40:59 -0700 (PDT) Received: by mail-qv1-xf49.google.com with SMTP id ib9-20020a0562141c8900b003671c3a1243so39739144qvb.21 for ; Fri, 10 Sep 2021 16:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=38/p5aKRxAN8lvaZDp0zhtUI6Snq8bGJp4KjVNrFxmM=; b=ClMvaE/jVFqEicWYTwhAUMg4CT9sQl4FTtk1QCXYfLbxl/z8eHdJIAmCgHm0ALrTgX 6NNH59sSA/uJQCslchF6+vv2WH3Lg/544Ks+SobQ/+vHBR9uvBUTTPEeS7JNF6PUh4x0 oji9HFyfLs9jEkCignvCitSoNF0nVGZh5hwNh1AgzHc0OnruJ8CR5gEIeQjyktGD0MzY fQKinUWOCv3m1Ei2THDJfEOQz1du+tBXIUkNdScXAFG/FjoQ7YDGmtmvQG6xo8Qwx/bX Oc13hWa/cGbAxYbZtXqP2Oj0jLT+5yhsbqbqmBhQeMxDcyxNnCyLb1d/HZCWRSduFFwY zLbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=38/p5aKRxAN8lvaZDp0zhtUI6Snq8bGJp4KjVNrFxmM=; b=ptgehzgPrw0gFttqeqfcnp1vXNE3Umchtb8KTGlY86hiA7Na9UkrzTcfJQAx8gQlgz zUdaqTEeuF3AVJYdmYcXU40MACc86heT2nLe9RVmlVpOI15PXPVIhXi6urrGvTCshNkt FjYBPmgiSxBNGZ8aDXxAIKhFb6BiYpry0OZfdkwFyNm9tZNPmzxxC9ZFZQWdnKFm1LAB 3oDDQi0AblAIj5vjCkZZHGLqULXrukwMFQ1zFMA0nyFZOjZCYsMlopR3yS0DCZOysZcw 8JN+DxozwRzG5UcRej3VTRVaAigZ5KbC6xCVD0hWmEY9RPOEL/WP0Rr7UTWyjLlkWi5o 1keQ== X-Gm-Message-State: AOAM532YdCoQ69DmwSGHzR7HlHQgKZ7BbeTLinP5Nn5BkHFE0tE/kpQm jhzxvfofv2oSoA0k6zqhihoeqUNnfMyHY5qSGns= X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:2b76:71d3:b5fb:3734]) (user=ndesaulniers job=sendgmr) by 2002:a05:6214:104d:: with SMTP id l13mr11107802qvr.13.1631317258077; Fri, 10 Sep 2021 16:40:58 -0700 (PDT) Date: Fri, 10 Sep 2021 16:40:40 -0700 In-Reply-To: <20210910234047.1019925-1-ndesaulniers@google.com> Message-Id: <20210910234047.1019925-4-ndesaulniers@google.com> Mime-Version: 1.0 References: <20210910234047.1019925-1-ndesaulniers@google.com> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog Subject: [PATCH 03/10] mm/ksm: remove old GCC 4.9+ check From: Nick Desaulniers To: Andrew Morton Cc: Linus Torvalds , Rasmus Villemoes , Nathan Chancellor , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Nick Desaulniers Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The minimum supported version of GCC has been raised to GCC 5.1. Signed-off-by: Nick Desaulniers --- mm/ksm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/ksm.c b/mm/ksm.c index 025338128cd9..a5716fdec1aa 100644 --- a/mm/ksm.c +++ b/mm/ksm.c @@ -651,10 +651,8 @@ static void remove_node_from_stable_tree(struct stable_node *stable_node) * from &migrate_nodes. This will verify that future list.h changes * don't break STABLE_NODE_DUP_HEAD. Only recent gcc can handle it. */ -#if defined(GCC_VERSION) && GCC_VERSION >= 40903 BUILD_BUG_ON(STABLE_NODE_DUP_HEAD <= &migrate_nodes); BUILD_BUG_ON(STABLE_NODE_DUP_HEAD >= &migrate_nodes + 1); -#endif if (stable_node->head == &migrate_nodes) list_del(&stable_node->list); -- 2.33.0.309.g3052b89438-goog