diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-01-30 07:31:17 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:17 -0500 |
commit | 341d8854d38fe6e7655f7748babae5c25a51aa70 (patch) | |
tree | 38c2baa4db7755e3a8cb359238fbb3073d6e0b7b /include/asm-x86/mutex_32.h | |
parent | 75604d7f7f1ee93e4d19d9e19f4497b7ed842f2a (diff) |
x86: remove fastcall from include/asm-x86
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/mutex_32.h')
-rw-r--r-- | include/asm-x86/mutex_32.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-x86/mutex_32.h b/include/asm-x86/mutex_32.h index 7a17d9e58ad6..bbeefb96ddfd 100644 --- a/include/asm-x86/mutex_32.h +++ b/include/asm-x86/mutex_32.h | |||
@@ -26,7 +26,7 @@ do { \ | |||
26 | unsigned int dummy; \ | 26 | unsigned int dummy; \ |
27 | \ | 27 | \ |
28 | typecheck(atomic_t *, count); \ | 28 | typecheck(atomic_t *, count); \ |
29 | typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \ | 29 | typecheck_fn(void (*)(atomic_t *), fail_fn); \ |
30 | \ | 30 | \ |
31 | __asm__ __volatile__( \ | 31 | __asm__ __volatile__( \ |
32 | LOCK_PREFIX " decl (%%eax) \n" \ | 32 | LOCK_PREFIX " decl (%%eax) \n" \ |
@@ -51,8 +51,7 @@ do { \ | |||
51 | * or anything the slow path function returns | 51 | * or anything the slow path function returns |
52 | */ | 52 | */ |
53 | static inline int | 53 | static inline int |
54 | __mutex_fastpath_lock_retval(atomic_t *count, | 54 | __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *)) |
55 | int fastcall (*fail_fn)(atomic_t *)) | ||
56 | { | 55 | { |
57 | if (unlikely(atomic_dec_return(count) < 0)) | 56 | if (unlikely(atomic_dec_return(count) < 0)) |
58 | return fail_fn(count); | 57 | return fail_fn(count); |
@@ -78,7 +77,7 @@ do { \ | |||
78 | unsigned int dummy; \ | 77 | unsigned int dummy; \ |
79 | \ | 78 | \ |
80 | typecheck(atomic_t *, count); \ | 79 | typecheck(atomic_t *, count); \ |
81 | typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \ | 80 | typecheck_fn(void (*)(atomic_t *), fail_fn); \ |
82 | \ | 81 | \ |
83 | __asm__ __volatile__( \ | 82 | __asm__ __volatile__( \ |
84 | LOCK_PREFIX " incl (%%eax) \n" \ | 83 | LOCK_PREFIX " incl (%%eax) \n" \ |