summaryrefslogtreecommitdiffstats
path: root/base/atomicops.h
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 /base/atomicops.h
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 'base/atomicops.h')
-rw-r--r--base/atomicops.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/atomicops.h b/base/atomicops.h
index a087e3d..4300114 100644
--- a/base/atomicops.h
+++ b/base/atomicops.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -137,6 +137,8 @@ Atomic64 Release_Load(volatile const Atomic64* ptr);
#include "base/atomicops_internals_x86_gcc.h"
#elif defined(COMPILER_GCC) && defined(ARCH_CPU_ARM_FAMILY)
#include "base/atomicops_internals_arm_gcc.h"
+#elif defined(COMPILER_GCC) && defined(ARCH_CPU_MIPS_FAMILY)
+#include "base/atomicops_internals_mips_gcc.h"
#else
#error "Atomic operations are not supported on your platform"
#endif