From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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> 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" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. -- 1.8.1.4