From 947b3ab02b702717742499687190b4a87b63e46c Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Wed, 27 Feb 2013 16:25:03 -0800 Subject: [PATCH] Remove unused arm defines. DO NOT MERGE The defines HAVE_32_BYTE_CACHE_LINES and ARCH_ARM_USE_NON_NEON_MEMCPY are not used by any code. The previous memcpy code that used these has been split into different architecture versions to avoid the need for them. Bug: 8005082 (cherry picked from commit 6e1a5cf31ba47508b08dba02a45b4ea6e1edd6d2) Change-Id: I69654d47db1458136782b5504290f620e924ee75 --- libc/Android.mk | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libc/Android.mk b/libc/Android.mk index 9a55eff27..2d0c3510c 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -491,17 +491,6 @@ ifeq ($(TARGET_ARCH),arm) libc_common_cflags += -DSOFTFLOAT libc_common_cflags += -fstrict-aliasing libc_crt_target_cflags := -mthumb-interwork - # - # Define HAVE_32_BYTE_CACHE_LINES to indicate to the C library - # that it should use the 32-byte version of memcpy, not - # the 64-byte version. - # - ifeq ($(ARCH_ARM_HAVE_32_BYTE_CACHE_LINES),true) - libc_common_cflags += -DHAVE_32_BYTE_CACHE_LINE - endif - ifeq ($(ARCH_ARM_USE_NON_NEON_MEMCPY),true) - libc_common_cflags += -DARCH_ARM_USE_NON_NEON_MEMCPY - endif endif # !arm ifeq ($(TARGET_ARCH),x86)