git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-i386
/
mutex.h
diff --git
a/include/asm-i386/mutex.h
b/include/asm-i386/mutex.h
index
05a5385
..
9b2199e
100644
(file)
--- a/
include/asm-i386/mutex.h
+++ b/
include/asm-i386/mutex.h
@@
-9,8
+9,6
@@
#ifndef _ASM_MUTEX_H
#define _ASM_MUTEX_H
#ifndef _ASM_MUTEX_H
#define _ASM_MUTEX_H
-#include "asm/alternative.h"
-
/**
* __mutex_fastpath_lock - try to take the lock by moving the count
* from 1 to a 0 value
/**
* __mutex_fastpath_lock - try to take the lock by moving the count
* from 1 to a 0 value
@@
-29,7
+27,7
@@
do { \
typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \
\
__asm__ __volatile__( \
typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \
\
__asm__ __volatile__( \
- LOCK
_PREFIX " decl (%%eax)
\n" \
+ LOCK
" decl (%%eax)
\n" \
" js 2f \n" \
"1: \n" \
\
" js 2f \n" \
"1: \n" \
\
@@
-85,7
+83,7
@@
do { \
typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \
\
__asm__ __volatile__( \
typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \
\
__asm__ __volatile__( \
- LOCK
_PREFIX " incl (%%eax)
\n" \
+ LOCK
" incl (%%eax)
\n" \
" jle 2f \n" \
"1: \n" \
\
" jle 2f \n" \
"1: \n" \
\