summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/x8664_ksyms.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2007-02-13 13:26:22 +0100
committerAndi Kleen <andi@basil.nowhere.org>2007-02-13 13:26:22 +0100
commitc49c5330c9592f29a69bb2ea8f6e7fd5d9c151e8 (patch)
tree50a04f4c90215c7ac73094a5a4f09e0699524060 /arch/x86_64/kernel/x8664_ksyms.c
parent53fee04f318222a3179ca5933d8bda82c1eef17a (diff)
downloadop-kernel-dev-c49c5330c9592f29a69bb2ea8f6e7fd5d9c151e8.zip
op-kernel-dev-c49c5330c9592f29a69bb2ea8f6e7fd5d9c151e8.tar.gz
[PATCH] x86-64: Remove fastcall references in x86_64 code
Unlike x86, x86_64 already passes arguments in registers. The use of regparm attribute makes no difference in produced code, and the use of fastcall just bloats the code. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/x8664_ksyms.c')
-rw-r--r--arch/x86_64/kernel/x8664_ksyms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c
index 23a7da3..0dffae6 100644
--- a/arch/x86_64/kernel/x8664_ksyms.c
+++ b/arch/x86_64/kernel/x8664_ksyms.c
@@ -35,8 +35,8 @@ EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(clear_page);
#ifdef CONFIG_SMP
-extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
-extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
+extern void __write_lock_failed(rwlock_t *rw);
+extern void __read_lock_failed(rwlock_t *rw);
EXPORT_SYMBOL(__write_lock_failed);
EXPORT_SYMBOL(__read_lock_failed);
#endif
OpenPOWER on IntegriCloud