summaryrefslogtreecommitdiffstats
path: root/cmds/app_process
diff options
context:
space:
mode:
authorDouglas Leung <douglas.leung@imgtec.com>2014-12-17 20:25:20 -0800
committerDouglas Leung <douglas.leung@imgtec.com>2014-12-17 20:27:25 -0800
commit7e7c6031821e2aa55c756a9c85f97a22f4875552 (patch)
tree0469a30448b73c613136b024596ab49a83e51d05 /cmds/app_process
parent93241de734c3b9cf20e8e8956e6f6ccacc5b5ef2 (diff)
downloadframeworks_base-7e7c6031821e2aa55c756a9c85f97a22f4875552.zip
frameworks_base-7e7c6031821e2aa55c756a9c85f97a22f4875552.tar.gz
frameworks_base-7e7c6031821e2aa55c756a9c85f97a22f4875552.tar.bz2
Add mips64 support to app_process.
Change-Id: Ieb05a212606f02ebad119a0aea0ed92773ace214
Diffstat (limited to 'cmds/app_process')
-rw-r--r--cmds/app_process/app_main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp
index fbdbb25..c86fd53 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