Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
510835a0
Commit
510835a0
authored
Jun 10, 2009
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for BUG#45131
parent
7f2db925
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
include/atomic/x86-gcc.h
include/atomic/x86-gcc.h
+1
-1
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+0
-14
No files found.
include/atomic/x86-gcc.h
View file @
510835a0
...
...
@@ -35,7 +35,7 @@
asm volatile (LOCK "; xadd %0, %1;" : "+r" (v) , "+m" (*a))
#endif
#define make_atomic_swap_body(S) \
asm volatile ("; xchg %0, %1;" : "+
r
" (v) , "+m" (*a))
asm volatile ("; xchg %0, %1;" : "+
q
" (v) , "+m" (*a))
#define make_atomic_cas_body(S) \
asm volatile (LOCK "; cmpxchg %3, %0; setz %2;" \
: "+m" (*a), "+a" (*cmp), "=q" (ret): "r" (set))
...
...
storage/innobase/include/univ.i
View file @
510835a0
...
...
@@ -67,20 +67,6 @@ of the 32-bit x86 assembler in mutex operations. */
#
define
UNIV_MUST_NOT_INLINE
#
endif
/* When on Solaris, gcc, and 32-bit disable inlining */
#
if
defined
(
__GNUC__
)
&
&
defined(UNIV_SOLARIS)
&
&
defined(__i386__)
#
undef
UNIV_MUST_NOT_INLINE
#
define
UNIV_MUST_NOT_INLINE
#
endif
/* When on Mac OS X, gcc, and 32-bit x86 disable inlining */
#
if
defined
(
__GNUC__
)
&
&
defined(__APPLE__)
&
&
defined
(__MACH__)
&
&
defined(__i386__)
#
undef
UNIV_MUST_NOT_INLINE
#
define
UNIV_MUST_NOT_INLINE
#
endif
#
ifdef
HAVE_PREAD
#
define
HAVE_PWRITE
#
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment