Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp489905ybl; Wed, 14 Aug 2019 01:02:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqPd6rHnJ4mfTovktWV3KKtvuDij1QGMDNdoI7sNLZcJ9mzT+XV2Y9P5+qxCDL89YZpf0S X-Received: by 2002:a17:902:7c8a:: with SMTP id y10mr27197883pll.65.1565769750144; Wed, 14 Aug 2019 01:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565769750; cv=none; d=google.com; s=arc-20160816; b=HqpJ0iMa9MyV5k6pe+EobARMU9uIw0Wf0O9U5MJfYVwl5xmrZD1dXav3402Ij1MmZi 5gjsoEA/HqyNfl53D9azhZrwsuzON1mn/ZEQ0cDk4sMnW+53SXYeVdCKx+mYrEjTkvkC f1IMSP4qx0naIhdqiqYnO601ALq471EK616sqeJ5mdMnZOT1135nh5475lX3C75Y1uTZ 2TW8ZlsPCfzqSsOUUPPxa0qnLEz3fCJsuZAyEd13X7mOQJf6OE6zJStPxOIOjnOLFJXp o8T/IH54nutgrZWzuheUmJAwuGabEVwTptu0HnHsa8NnDR3CJm5c1LTc4UEP7n6PwqiG jf8A== 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=vBk1LYfglvU9WhzFBd+HGPsCFZW0PolzMu2uE5RY+Ss=; b=Ged4BkFYGuI6KH6BjWUDWZzkvtjcxo3az9YBvnqN0LLd49bVeNxJVuv1rhIGAOeqUm EomMukDI9a3v2V2XO8OFNJXEfFBXStjgqsINRvyI+lq0iavGzjFEorSQ6D8ohtbgSUGN YEhKXuJLAyKdgAI5lZQCNndk4p0JSr2o9C9kMGL/SZslnktYSkP9WBaJduUIOY4rKop6 lsDpo2e3O38WNqpGMc7M17NFWgj+IkmXsroQIB4U2zfhdvu27dNJlJCszaP8xIfGjMr/ chQXN/AKapsCd1prevyStsmi/IpTELMkYoKhWDNl3j7N4Eequ29wZ8Nxt60cFj/CBAz3 644Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GMnK8vxS; 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 j7si74994859pfi.10.2019.08.14.01.02.13; Wed, 14 Aug 2019 01:02:30 -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=GMnK8vxS; 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 S1727571AbfHNIAC (ORCPT + 99 others); Wed, 14 Aug 2019 04:00:02 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39794 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727447AbfHNIAB (ORCPT ); Wed, 14 Aug 2019 04:00:01 -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=vBk1LYfglvU9WhzFBd+HGPsCFZW0PolzMu2uE5RY+Ss=; b=GMnK8vxSRHA4WBgd0X24IGMQFS 3/qyPBXcIpuzxhIzULi17D+Sxbxfz3UHdutVGw8hYZT7dg9L5K4HJP9Zv1ybkLfKiIvv0Xj0zbKSq B4a0igjfBisQeyWlPE6esFoPgkgyt1o7d6hwHwEcaqW86UVtNw/YOYaa4k9WRDj0kqNN6/VIiWs7b k1AnlR1SWZoy5oVOjtnLMXcTaUQWZmvy9GDnfMx1qHAWq9eFCgZqC1zu8Fl2N0sOsy8yBZnwinBe/ G9yeDxATQuVNZHLLRBa8CfidabY+rvSRysvvBABm6agbj9RFnL44HhqRpySHsZz8/p1SnC10Aa8if xBnjGJuQ==; Received: from [2001:4bb8:180:1ec3:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hxoCK-000864-11; Wed, 14 Aug 2019 07:59:56 +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 08/10] mm: remove the unused MIGRATE_PFN_ERROR flag Date: Wed, 14 Aug 2019 09:59:26 +0200 Message-Id: <20190814075928.23766-9-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814075928.23766-1-hch@lst.de> References: <20190814075928.23766-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 Now that we can rely errors in the normal control flow there is no need for this flag, remove it. Signed-off-by: Christoph Hellwig Reviewed-by: Ralph Campbell --- include/linux/migrate.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 18156d379ebf..1e67dcfd318f 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