commit | 20667305c6dd45a98de8a54cb47a537c8a40a35e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Aug 13 16:17:23 2012 -0700 |
committer | android code review <noreply-gerritcodereview@google.com> | Mon Aug 13 16:17:23 2012 -0700 |
tree | 464d912dbae8eb0e1bdf26c6e0636c1874d94f15 | |
parent | 0bcc0f725d87b085f85ef3b5924e9ad666471436 [diff] | |
parent | d92d446933f5c6ba6f2fa7fdcc2363ce8ef060b6 [diff] |
Merge "[MIPS] Fix the path for unistd.h"
diff --git a/perf.h b/perf.h index 4f770be..712bbc7 100644 --- a/perf.h +++ b/perf.h
@@ -86,7 +86,13 @@ #endif #ifdef __mips__ +/* ANDROID_CHANGE_BEGIN */ +#if 0 #include "../../arch/mips/include/asm/unistd.h" +#elif !defined(__APPLE__) +#include <asm/unistd.h> +#endif +/* ANDROID_CHANGE_END */ #define rmb() asm volatile( \ ".set mips2\n\t" \ "sync\n\t" \