Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp712110pxv; Thu, 8 Jul 2021 12:13:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwz9Pi4CYS7FH16NL4UySC720QqyxQeNQ39L2FqD7zEuubzRMdKo2mN/Z8hSEGkMeFaVrKm X-Received: by 2002:a17:906:32d8:: with SMTP id k24mr32787895ejk.422.1625771630693; Thu, 08 Jul 2021 12:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625771630; cv=none; d=google.com; s=arc-20160816; b=B6X6yXjsjQDjRzviqpcO6vZJff7r/yv9CDnfjL/kKZrwk6ivVhnv8y8ZlzBpALCgFY EEaOq6sfvnia5wRPlOJbIfmG6au96VFxI7ZYZjZKK2GuhoY3LfapfABJIFM5/hrSpq7t RtsH/WH2zEufiEmN3ZdK0MDDLp6NqeEq6KzvFQe2fBZITCyA7X6qZwqyISKXKQihLbdh 8YQ8Fs/c55ZcLa1Uf5FfKzC2hfknNXHD8jikSRL1y1dDt3WTgCZComSx5K0sT6g/YllQ Hjh/W4ROXK4AtlrHXOO7asDsTaiF6SgMbeClZAP2IkR6I2X34TC6NoB7WP+LqUc6TLJj NGlQ== 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 :message-id:date:subject:cc:to:from; bh=y37sxqdyEEFFUgy5VlTHVFB6NCIJDJ+Q1MpiuJu7Kuc=; b=UbALi5rx15KxdFZg9eSFZcxuV38Va9sVjb3JnzIbu14rkiT9nuNKhojGKJyjqPRoaH gWk8Mc22T5rJpJEw1BSaB2cy3N/O9LfHYx+VWiwd2K4QZPQ0MuWriher7yJ6Y6tosEmU iY4BReeinihpRZeVnkSK+0dixc8bfITxZwCR9V1DklnoCkTXk/fTLctniAZ2Eg17xDAM A3wY7ZQ3fIys5Ql0jbv0XO5vhirGPkMw+Tw8ntt2BEBzwhc2G2I2z91a7d0GYKB6AwHM G5bHzb6d5E8r2qEEarnVaZKp86d/gvPVix6tDGx3eN8u2l9+31tYBfgnu5TwXBHzyMYR rdNQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si4435677edo.288.2021.07.08.12.13.27; Thu, 08 Jul 2021 12:13:50 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229866AbhGHTO0 (ORCPT + 99 others); Thu, 8 Jul 2021 15:14:26 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]:41604 "EHLO mail-qt1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhGHTOZ (ORCPT ); Thu, 8 Jul 2021 15:14:25 -0400 Received: by mail-qt1-f175.google.com with SMTP id z18so2342195qtq.8 for ; Thu, 08 Jul 2021 12:11:43 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=y37sxqdyEEFFUgy5VlTHVFB6NCIJDJ+Q1MpiuJu7Kuc=; b=L62hs+XttK6l9tVhqNLnDDPyE7FzM+/wPdEEaAp4Ycgo8eV3rIwiPaCMTkDglPhP8D b5aMfqm2UCbr5bcVYhdCVUozu3Y1EzEjhtzmKGVO2unOzkXcg/hsptuMHdhnGJO2UUWA QJndIonidXviZhUwEFXCITmtaCgjblRuiUx3cTbsfFqdvhe/mz+UvwSU5SRQQWbTVZpJ R8hXzEvRHvPhJfRxDycEy5XfAaayvCZKA4DFxFL8Rf+0ji8UKFwoO36egvsCb0DzkdJA HRapAyuya1sExJ1Y05L6EObRI5v74QBoSGYWw9aA7cVWbGH7rQbL42K1Gw8X125424eJ 2Mzg== X-Gm-Message-State: AOAM532/794hEk4q/6VEf35UaBAGKBeXVStcbA+inXmeHPwyIPLU8IUX vJWlEp56BR2IMeiEzZ1L/Vg= X-Received: by 2002:a05:622a:209:: with SMTP id b9mr9039217qtx.375.1625771502621; Thu, 08 Jul 2021 12:11:42 -0700 (PDT) Received: from msft-t490s.. ([45.74.48.12]) by smtp.gmail.com with ESMTPSA id p9sm1283880qtw.88.2021.07.08.12.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 12:11:42 -0700 (PDT) From: Matteo Croce To: Mel Gorman , Linux-MM Cc: Andrew Morton , Michal Hocko , David Hildenbrand , Vlastimil Babka , Dan Streetman , Yang Shi , LKML Subject: [PATCH] Revert "mm/page_alloc: make should_fail_alloc_page() static" Date: Thu, 8 Jul 2021 21:11:28 +0200 Message-Id: <20210708191128.153796-1-mcroce@linux.microsoft.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matteo Croce This reverts commit f7173090033c70886d925995e9dfdfb76dbb2441. Fix an unresolved symbol error when CONFIG_DEBUG_INFO_BTF=y: LD vmlinux BTFIDS vmlinux FAILED unresolved symbol should_fail_alloc_page make: *** [Makefile:1199: vmlinux] Error 255 make: *** Deleting file 'vmlinux' Fixes: f7173090033c ("mm/page_alloc: make should_fail_alloc_page() static") Signed-off-by: Matteo Croce --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d6e94cc8066c..7b6405f8ff48 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -3831,7 +3831,7 @@ static inline bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) #endif /* CONFIG_FAIL_PAGE_ALLOC */ -static noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) +noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) { return __should_fail_alloc_page(gfp_mask, order); } -- 2.31.1