From patchwork Wed Dec 4 06:59:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pingfan Liu X-Patchwork-Id: 296418 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 210CF2C0407 for ; Wed, 4 Dec 2013 17:59:53 +1100 (EST) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 6ED362C00F8 for ; Wed, 4 Dec 2013 17:58:24 +1100 (EST) Received: by mail-ie0-f174.google.com with SMTP id at1so25775271iec.33 for ; Tue, 03 Dec 2013 22:58:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=72CC+DezcZrL6jIBWkKC247tJB33ekPhPfCGQwy6K+A=; b=v+N2nk/cP6L/zNOgx7B1ffV20sUv7DTuTf+mkw1Vnf1qX+8P5/4Ja+7uxISFw1ehKc 0O+16lj2MSN2tcMDoWH/VnTOq1Mf2G2xzNwZ8dfhSRPCw1nXKXh2KmoLrkKcv0Ih6729 HR24xf5gN4jkYO6iFVpKgTIWLWproVmz3/+deiGFl7JUCIjNFNLg+n7eBaWbtE35wAmE AYS9SJFIBrbyduwwEloWRSsMLimJooItT8ObGH0R53lfXJRhAC3zHNWDnJ/oN/7zbwCE 5mZi5h/rrc+aQmIXrC74EzBf8iMBrPB0vvG8/wM5EFOoGcwhVaCEfLi/4axUtHOYS2OW lolA== X-Received: by 10.43.129.130 with SMTP id hi2mr49944292icc.14.1386140301658; Tue, 03 Dec 2013 22:58:21 -0800 (PST) Received: from localhost ([202.108.130.138]) by mx.google.com with ESMTPSA id qi3sm2824605igc.8.2013.12.03.22.58.20 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 03 Dec 2013 22:58:21 -0800 (PST) From: Liu Ping Fan To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 2/3] mm: export numa_migrate_prep() Date: Wed, 4 Dec 2013 14:59:07 +0800 Message-Id: <1386140348-7854-3-git-send-email-pingfank@linux.vnet.ibm.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1386140348-7854-1-git-send-email-pingfank@linux.vnet.ibm.com> References: <1386140348-7854-1-git-send-email-pingfank@linux.vnet.ibm.com> Cc: Paul Mackerras , "Aneesh Kumar K.V" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" powerpc will use it in fast path. Signed-off-by: Liu Ping Fan --- include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index 5ab0e22..420fb77 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1092,6 +1092,8 @@ extern unsigned long change_protection(struct vm_area_struct *vma, unsigned long extern int mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, unsigned long start, unsigned long end, unsigned long newflags); +extern int numa_migrate_prep(struct page *page, struct vm_area_struct *vma, + unsigned long addr, int page_nid); /* * doesn't attempt to fault and will return short.