Bug 698002. Fixup architecture define typo. r=bgirard
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Mon, 31 Oct 2011 12:05:30 -0400
changeset 81885 c7763db2a4daac64c18fea352dddcff7b757c701
parent 81884 24b7e2efa35c4db51e424ee1c57e7d20dd5e86a7
child 81886 768c2a7a320e583d500e75a29e83695ed04be8ad
push idunknown
push userunknown
push dateunknown
reviewersbgirard
bugs698002
milestone11.0a1
Bug 698002. Fixup architecture define typo. r=bgirard
tools/profiler/sps/sps_sampler.h
--- a/tools/profiler/sps/sps_sampler.h
+++ b/tools/profiler/sps/sps_sampler.h
@@ -54,17 +54,17 @@ extern pthread_key_t pkey_ticker;
 //                  we need to make stores are not re-ordered by the compiler
 //                  or hardware to make sure the profile is consistent at
 //                  every point the signal can fire.
 #ifdef ARCH_CPU_ARM_FAMILY
 // TODO Is there something cheaper that will prevent
 //      memory stores from being reordered
 // Uses: pLinuxKernelMemoryBarrier
 # define STORE_SEQUENCER() base::subtle::MemoryBarrier();
-#elif ARCH_CPU_ARM_FAMILY
+#elif ARCH_CPU_X86_FAMILY
 # define STORE_SEQUENCER() asm volatile("" ::: "memory");
 #else
 # error "Memory clobber not supported for your platform."
 #endif
 
 // Returns a handdle to pass on exit. This can check that we are popping the
 // correct callstack.
 inline void* mozilla_sampler_call_enter(const char *aInfo);