Fix MIPS build.

Warnings are errors for all home-grown bionic code, and the arch-specific
code now counts as home-grown bionic code (it was mistakenly counted as
"not ours" before).

Change-Id: I9c6a881b0dc596bae7dfe112c5c189e073800a3a
This commit is contained in:
Elliott Hughes 2013-10-09 16:40:33 -07:00
parent 37953ee3fe
commit 14b467e840
2 changed files with 2 additions and 3 deletions

View File

@ -55,8 +55,7 @@
#endif #endif
/* This is the Android signature */ /* This is the Android signature */
int cacheflush (long start, long end, long flags) int cacheflush (long start, long end, long /*flags*/) {
{
if (end < start) { if (end < start) {
/* /*
* It looks like this is really MIPS style cacheflush call * It looks like this is really MIPS style cacheflush call

View File

@ -5,7 +5,7 @@ _LIBC_ARCH_COMMON_SRC_FILES := \
arch-mips/bionic/_setjmp.S \ arch-mips/bionic/_setjmp.S \
arch-mips/bionic/futex_mips.S \ arch-mips/bionic/futex_mips.S \
arch-mips/bionic/bzero.S \ arch-mips/bionic/bzero.S \
arch-mips/bionic/cacheflush.c \ arch-mips/bionic/cacheflush.cpp \
arch-mips/bionic/clone.S \ arch-mips/bionic/clone.S \
arch-mips/bionic/ffs.S \ arch-mips/bionic/ffs.S \
arch-mips/bionic/memcmp16.S \ arch-mips/bionic/memcmp16.S \