From 7e7c6031821e2aa55c756a9c85f97a22f4875552 Mon Sep 17 00:00:00 2001 From: Douglas Leung Date: Wed, 17 Dec 2014 20:25:20 -0800 Subject: [PATCH] Add mips64 support to app_process. Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214 --- cmds/app_process/app_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp index fbdbb255f1745..c86fd5398dc3f 100644 --- a/cmds/app_process/app_main.cpp +++ b/cmds/app_process/app_main.cpp @@ -146,8 +146,10 @@ static void maybeCreateDalvikCache() { static const char kInstructionSet[] = "arm"; #elif defined(__i386__) static const char kInstructionSet[] = "x86"; -#elif defined (__mips__) +#elif defined (__mips__) && !defined(__LP64__) static const char kInstructionSet[] = "mips"; +#elif defined (__mips__) && defined(__LP64__) + static const char kInstructionSet[] = "mips64"; #else #error "Unknown instruction set" #endif