From 16ccc037466a90155c4faf6fccac4f22efd429e7 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Tue, 18 Nov 2014 18:14:37 -0800 Subject: [PATCH] kill HAVE_MADVISE Bug: 18397020 Change-Id: I6b9c7d30432858131379759e738d3e04bc8d5fb5 --- core/combo/include/arch/darwin-x86/AndroidConfig.h | 5 ----- core/combo/include/arch/linux-arm/AndroidConfig.h | 5 ----- core/combo/include/arch/linux-arm64/AndroidConfig.h | 5 ----- core/combo/include/arch/linux-mips/AndroidConfig.h | 5 ----- core/combo/include/arch/linux-mips64/AndroidConfig.h | 5 ----- core/combo/include/arch/linux-x86/AndroidConfig.h | 5 ----- core/combo/include/arch/target_linux-x86/AndroidConfig.h | 5 ----- 7 files changed, 35 deletions(-) diff --git a/core/combo/include/arch/darwin-x86/AndroidConfig.h b/core/combo/include/arch/darwin-x86/AndroidConfig.h index c83c54ccf..c2bad7b41 100644 --- a/core/combo/include/arch/darwin-x86/AndroidConfig.h +++ b/core/combo/include/arch/darwin-x86/AndroidConfig.h @@ -88,11 +88,6 @@ */ /* #define HAVE_MALLOC_H */ -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if we include for statfs() */ diff --git a/core/combo/include/arch/linux-arm/AndroidConfig.h b/core/combo/include/arch/linux-arm/AndroidConfig.h index bb47ef026..e9550aa65 100644 --- a/core/combo/include/arch/linux-arm/AndroidConfig.h +++ b/core/combo/include/arch/linux-arm/AndroidConfig.h @@ -87,11 +87,6 @@ */ #define HAVE_LINUX_LOCAL_SOCKET_NAMESPACE 1 -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if libc includes Android system properties implementation. */ diff --git a/core/combo/include/arch/linux-arm64/AndroidConfig.h b/core/combo/include/arch/linux-arm64/AndroidConfig.h index e4f98e017..913e38bf2 100644 --- a/core/combo/include/arch/linux-arm64/AndroidConfig.h +++ b/core/combo/include/arch/linux-arm64/AndroidConfig.h @@ -85,11 +85,6 @@ */ #define HAVE_LINUX_LOCAL_SOCKET_NAMESPACE 1 -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if libc includes Android system properties implementation. */ diff --git a/core/combo/include/arch/linux-mips/AndroidConfig.h b/core/combo/include/arch/linux-mips/AndroidConfig.h index e8b39f474..e0f4cf507 100644 --- a/core/combo/include/arch/linux-mips/AndroidConfig.h +++ b/core/combo/include/arch/linux-mips/AndroidConfig.h @@ -105,11 +105,6 @@ */ #define HAVE_LINUX_LOCAL_SOCKET_NAMESPACE 1 -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if libc includes Android system properties implementation. */ diff --git a/core/combo/include/arch/linux-mips64/AndroidConfig.h b/core/combo/include/arch/linux-mips64/AndroidConfig.h index 3d258ea89..9fa0d6794 100644 --- a/core/combo/include/arch/linux-mips64/AndroidConfig.h +++ b/core/combo/include/arch/linux-mips64/AndroidConfig.h @@ -95,11 +95,6 @@ */ #define HAVE_LINUX_LOCAL_SOCKET_NAMESPACE 1 -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if libc includes Android system properties implementation. */ diff --git a/core/combo/include/arch/linux-x86/AndroidConfig.h b/core/combo/include/arch/linux-x86/AndroidConfig.h index c732e832b..b3544ce86 100644 --- a/core/combo/include/arch/linux-x86/AndroidConfig.h +++ b/core/combo/include/arch/linux-x86/AndroidConfig.h @@ -85,11 +85,6 @@ */ #define ARCH_X86 -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if system provides a system property server (should be * mutually exclusive with HAVE_LIBC_SYSTEM_PROPERTIES). diff --git a/core/combo/include/arch/target_linux-x86/AndroidConfig.h b/core/combo/include/arch/target_linux-x86/AndroidConfig.h index 4a918e60e..2b3fc3a94 100644 --- a/core/combo/include/arch/target_linux-x86/AndroidConfig.h +++ b/core/combo/include/arch/target_linux-x86/AndroidConfig.h @@ -79,11 +79,6 @@ */ #define HAVE_LINUX_LOCAL_SOCKET_NAMESPACE 1 -/* - * Define if we have madvise() in - */ -#define HAVE_MADVISE 1 - /* * Define if libc includes Android system properties implementation. */