commit | d92d446933f5c6ba6f2fa7fdcc2363ce8ef060b6 | [log] [tgz] |
---|---|---|
author | Raghu Gandham <raghu@mips.com> | Mon Aug 13 12:12:06 2012 -0700 |
committer | Raghu Gandham <raghu@mips.com> | Mon Aug 13 12:13:18 2012 -0700 |
tree | 464d912dbae8eb0e1bdf26c6e0636c1874d94f15 | |
parent | 0bcc0f725d87b085f85ef3b5924e9ad666471436 [diff] |
[MIPS] Fix the path for unistd.h Change-Id: Ia6606fc586bd9c754288b78502b8477dc4f020b5
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" \