From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755025AbbLGMJh (ORCPT ); Mon, 7 Dec 2015 07:09:37 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:35069 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753663AbbLGMJf (ORCPT ); Mon, 7 Dec 2015 07:09:35 -0500 From: Sudip Mukherjee To: Ralf Baechle , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Sudip Mukherjee , Chen Gang , Minchan Kim Subject: [PATCH] mips: mm: fix build failure Date: Mon, 7 Dec 2015 17:39:24 +0530 Message-Id: <1449490164-21029-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We are having build failure with mips defconfig with the error: "MADV_FREE" redefined. commit d53d95838c7d introduced uniform values for all architecture but missed removing the old value. Fixes: d53d95838c7d ("arch/*/include/uapi/asm/mman.h: : let MADV_FREE have same value for all architectures") Signed-off-by: Sudip Mukherjee --- build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/95309512 arch/mips/include/uapi/asm/mman.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/include/uapi/asm/mman.h b/arch/mips/include/uapi/asm/mman.h index b0ebe59..ccdcfcb 100644 --- a/arch/mips/include/uapi/asm/mman.h +++ b/arch/mips/include/uapi/asm/mman.h @@ -73,7 +73,6 @@ #define MADV_SEQUENTIAL 2 /* expect sequential page references */ #define MADV_WILLNEED 3 /* will need these pages */ #define MADV_DONTNEED 4 /* don't need these pages */ -#define MADV_FREE 5 /* free pages only if memory pressure */ /* common parameters: try to keep these consistent across architectures */ #define MADV_FREE 8 /* free pages only if memory pressure */ -- 1.9.1