From: Nathan Lynch Subject: [PATCH 03/11] checkpoint: reformat CKPT_VMA_NOT_SUPPORTED Date: Wed, 20 Oct 2010 13:56:38 -0500 Message-ID: <1287601006-13794-4-git-send-email-ntl@pobox.com> References: <1287601006-13794-1-git-send-email-ntl@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1287601006-13794-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org Remove duplicate VM_HUGETLB and VM_NONLINEAR; place each flag on its own line and alphabetize the list. This will make future modifications to CKPT_VMA_NOT_SUPPORTED easier to review. Signed-off-by: Nathan Lynch --- include/linux/checkpoint.h | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/include/linux/checkpoint.h b/include/linux/checkpoint.h index a11d40e..49cf01e 100644 --- a/include/linux/checkpoint.h +++ b/include/linux/checkpoint.h @@ -309,10 +309,17 @@ extern int checkpoint_memory_contents(struct ckpt_ctx *ctx, extern int restore_memory_contents(struct ckpt_ctx *ctx, struct inode *inode); -#define CKPT_VMA_NOT_SUPPORTED \ - (VM_IO | VM_HUGETLB | VM_NONLINEAR | VM_PFNMAP | \ - VM_RESERVED | VM_HUGETLB | VM_NONLINEAR | \ - VM_MAPPED_COPY | VM_INSERTPAGE | VM_MIXEDMAP | VM_SAO) +#define CKPT_VMA_NOT_SUPPORTED ( \ + VM_HUGETLB | \ + VM_INSERTPAGE | \ + VM_IO | \ + VM_MAPPED_COPY | \ + VM_MIXEDMAP | \ + VM_NONLINEAR | \ + VM_PFNMAP | \ + VM_RESERVED | \ + VM_SAO | \ + 0) /* signals */ extern int checkpoint_obj_sighand(struct ckpt_ctx *ctx, struct task_struct *t); -- 1.7.2.2