Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3494156ybi; Mon, 29 Jul 2019 07:31:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXWJBxi5cYCPrOzWzs35IgIesTqqU6V/aLvb9K0i7z+jf4Qs6Wom570bJAn8HR/cOtc8az X-Received: by 2002:a17:90a:cb12:: with SMTP id z18mr107213318pjt.82.1564410668428; Mon, 29 Jul 2019 07:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564410668; cv=none; d=google.com; s=arc-20160816; b=nx1wseIi+8mnLX+cjs1mp1dsJOFo6OF324c5cKzAfAciqDCVYGjn8d902LtPXZEaL1 dhd4OBUQ1fhM2bwDBhOeeSP/2/13h2WlVlhotaYad5YT2Gy/XARzDozWCHR5ZgXm8eMw gCyFIP4Ld5QHWhJgoQCwSTxb80g0kS8JppmjtRaFAl7et1eyCKSJ9oAobnuA7dOl4+us qL5WEVVkL32PYX3qaOfoG3Z/81QlnUKDGX7AeVMqLstHuMT1Gl1Kg09dkE4ziwWsJe6F WGdBwzF7PmmC0TyPpDrCw2I8CJ1qrPwF06YF+Y+nmaDX4BMvqddCmksf5Ag6vGJVlcxR t60Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ADCug91zuoANeBM/f4yCo270YqgttY1AZGH+RTcphSg=; b=S2Oe3LZD2TGl8iNQbBGMcCng8RBoigk5RGE2Mj555AF/CWlOtBd9Oe93JrJIsQAGuh g6Hb8lvpR7rxlNuw3i7Vdwpxglh+U8RieSvFJuHswQvy+PSBZRrZBpEL+hr7VqVVvIxo /gSC1UgzQyJCUO8jW4H45pAR5be/CHdntyvNqOGVMKF1t0N9847wi3hyYXrpYQSDG460 QV0Qn6j17A1FkMFRoWzXBV+CjR3o0/njVYvAI5ivBzjHJl0ree9c/NQi1qaQT1zGPC9d s4KlJeZgfdQsodI/evV49hAKVPbtfrrgbY8YNkxvCcObvES3Ci1+xCVFv+sDLbHULZb7 NyAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PoRZVZGW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v141si31100243pgb.183.2019.07.29.07.30.52; Mon, 29 Jul 2019 07:31:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=PoRZVZGW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728415AbfG2O3S (ORCPT + 99 others); Mon, 29 Jul 2019 10:29:18 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46980 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727129AbfG2O3R (ORCPT ); Mon, 29 Jul 2019 10:29:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ADCug91zuoANeBM/f4yCo270YqgttY1AZGH+RTcphSg=; b=PoRZVZGWUXTPpfSubNbeDA1LdQ b1LU/fQcfLbyytc2sKwhS9XHDPhN/gAt57LwReU5qOooafXp0ZDGWpFF/2t4PTI/oaQv6W14tY4mb rza6MeZTZ9XBJh/slw1Y3bcBA1QSUV+n4ZlZw0NYQfKPrQTDFtZI5E9tOFs20qu0RAJJTghI3SRgm YgD2M6gbXV0E6tWBxPYGCgN/DTlYlaMlgZrQe+O/igafLpjEuov7/uqXg2nCrGYgEePTo7BvTg3Gz k3Lax/R6rvcpq4mDKiz84UhDA+aZJS5tGJi7fwLDd/1s0vbKGIGuHFzxXh6MbT37dORGy06wuzQKy 8BoJHZmQ==; Received: from [195.167.85.94] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hs6eI-0006N3-7M; Mon, 29 Jul 2019 14:29:14 +0000 From: Christoph Hellwig To: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , Jason Gunthorpe , Ben Skeggs Cc: Ralph Campbell , Bharata B Rao , Andrew Morton , linux-mm@kvack.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/9] mm: remove the unused MIGRATE_PFN_ERROR flag Date: Mon, 29 Jul 2019 17:28:41 +0300 Message-Id: <20190729142843.22320-8-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190729142843.22320-1-hch@lst.de> References: <20190729142843.22320-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We don't use this flag anymore, so remove it. Signed-off-by: Christoph Hellwig --- include/linux/migrate.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 093d67fcf6dd..229153c2c496 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -167,7 +167,6 @@ static inline int migrate_misplaced_transhuge_page(struct mm_struct *mm, #define MIGRATE_PFN_LOCKED (1UL << 2) #define MIGRATE_PFN_WRITE (1UL << 3) #define MIGRATE_PFN_DEVICE (1UL << 4) -#define MIGRATE_PFN_ERROR (1UL << 5) #define MIGRATE_PFN_SHIFT 6 static inline struct page *migrate_pfn_to_page(unsigned long mpfn) -- 2.20.1