[patch 1/1] x86-64: forgot asmlinkage on sys_mmap
From: blaisorblade
Date: Wed Mar 09 2005 - 11:50:33 EST
CC: Andi Kleen <ak@xxxxxxx>
I think it should be there, please check better.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
---
linux-2.6.11-paolo/arch/x86_64/kernel/sys_x86_64.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/x86_64/kernel/sys_x86_64.c~x86-64-asmlinkage-forgot arch/x86_64/kernel/sys_x86_64.c
--- linux-2.6.11/arch/x86_64/kernel/sys_x86_64.c~x86-64-asmlinkage-forgot 2005-03-05 19:58:38.339212568 +0100
+++ linux-2.6.11-paolo/arch/x86_64/kernel/sys_x86_64.c 2005-03-05 19:58:51.062278368 +0100
@@ -38,7 +38,7 @@ asmlinkage long sys_pipe(int __user *fil
return error;
}
-long sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags,
+asmlinkage long sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags,
unsigned long fd, unsigned long off)
{
long error;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/