From 8d162b444ab0e4396098d0a5e1f23811441917a1 Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Thu, 30 Oct 2008 18:38:47 +0100 Subject: [PATCH] Fixed spelling error --- storage/innobase/include/os0sync.ic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/innobase/include/os0sync.ic b/storage/innobase/include/os0sync.ic index 4370e07e672..dd5328ffa89 100644 --- a/storage/innobase/include/os0sync.ic +++ b/storage/innobase/include/os0sync.ic @@ -58,7 +58,7 @@ os_compare_and_swap( lint oldVal, /* in: value to compare to */ lint newVal) /* in: value to swap in */ { -#ifdef HAVE_GCC_ATOMIC_BULTINS +#ifdef HAVE_GCC_ATOMIC_BUILTINS return (__sync_bool_compare_and_swap(ptr, oldVal, newVal)); #elif HAVE_SOLARIS_ATOMIC lint retVal = (lint)atomic_cas_ulong((volatile ulong_t *)ptr, @@ -79,7 +79,7 @@ os_atomic_increment( volatile lint* ptr, /* in: pointer to target */ lint amount) /* in: amount of increment */ { -#ifdef HAVE_GCC_ATOMIC_BULTINS +#ifdef HAVE_GCC_ATOMIC_BUILTINS return (__sync_add_and_fetch(ptr, amount)); #elif HAVE_SOLARIS_ATOMIC return ((lint)atomic_add_long_nv((volatile ulong_t *)ptr, amount));