summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 02:47:05 +0000
committerpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 02:47:05 +0000
commitf7d2fbdcbd4dd00321143ab69e52d0f4516f8e58 (patch)
tree977c5a9248d065cd5a2e8888ccffb576a7316b69 /build
parentd2b3a95d95de6296fb963a89c67737672cf9d97b (diff)
downloadchromium_src-f7d2fbdcbd4dd00321143ab69e52d0f4516f8e58.zip
chromium_src-f7d2fbdcbd4dd00321143ab69e52d0f4516f8e58.tar.gz
chromium_src-f7d2fbdcbd4dd00321143ab69e52d0f4516f8e58.tar.bz2
[MIPS] Adding atomic ops for MIPS architecture.
Initial commit for atomic operations on MIPS architecture. BUG=https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome Review URL: https://chromiumcodereview.appspot.com/10448043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index 7784bb6..731e776 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -102,6 +102,12 @@
#define WCHAR_T_IS_UNSIGNED 1
#elif defined(__pnacl__)
#define ARCH_CPU_32_BITS 1
+#elif defined(__MIPSEL__)
+#define ARCH_CPU_MIPS_FAMILY 1
+#define ARCH_CPU_MIPSEL 1
+#define ARCH_CPU_32_BITS 1
+#define ARCH_CPU_LITTLE_ENDIAN 1
+#define WCHAR_T_IS_UNSIGNED 0
#else
#error Please add support for your architecture in build/build_config.h
#endif