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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d8ad1aaa
Commit
d8ad1aaa
authored
Jun 10, 2009
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for BUG#45131
parent
e78ca627
Changes
2
Hide 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 @
d8ad1aaa
...
...
@@ -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 @
d8ad1aaa
...
...
@@ -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