Index: src/trusted/service_runtime/nacl_signal_common.c |
diff --git a/src/trusted/service_runtime/nacl_signal_common.c b/src/trusted/service_runtime/nacl_signal_common.c |
index 31af46aeea85f17e020e3dd728930bf1ac3dafd6..68f713f5a96f715e9d86cf0cdd84db61ad00713e 100644 |
--- a/src/trusted/service_runtime/nacl_signal_common.c |
+++ b/src/trusted/service_runtime/nacl_signal_common.c |
@@ -77,7 +77,8 @@ void NaClSignalContextGetCurrentThread(const struct NaClSignalContext *sigCtx, |
*is_untrusted = (NaClGetGlobalCs() != sigCtx->cs); |
*result_thread = nacl_thread[sigCtx->gs >> 3]; |
#elif (NACL_ARCH(NACL_BUILD_ARCH) == NACL_x86 && NACL_BUILD_SUBARCH == 64) || \ |
- NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm |
+ NACL_ARCH(NACL_BUILD_ARCH) == NACL_arm || \ |
+ NACL_ARCH(NACL_BUILD_ARCH) == NACL_mips |
uint32_t current_thread_index = NaClTlsGetIdx(); |
if (NACL_TLS_INDEX_INVALID == current_thread_index) { |
*is_untrusted = 0; |