UML - get rid of asmlinkage
PATCH 4/4 UML - get rid of asmlinkage
Get rid of asmlinkage and remove some old cruft from asm/linkage.h.
Signed-off-by Jeff Dike <[email protected]>
--- arch/um/sys-i386/tls.c | 9 +++++---- include/asm-um/linkage.h | 7 ------- 2 files changed, 5 insertions(+), 11 deletions(-)
arch/um/sys-i386/tls.c +5 -4
@@ -225,7 +225,8 @@ out: }/* XXX: use do_get_thread_area to read the host value? I'm not at all sure! */ -static int get_tls_entry (struct task_struct * task,struct user_desc *info,int idx) +static int get_tls_entry (struct task_struct * task,struct user_desc *info, +int idx) {struct thread_struct *t = &task->thread;
@@ -263,7 +264,7 @@ clear: goto out; } -asmlinkage int sys_set_thread_area(struct user_desc __user *user_desc) +int sys_set_thread_area (struct user_desc __user *user_desc) {struct user_desc info;int idx, ret;
@@ -298,7 +299,7 @@ asmlinkage int sys_set_thread_area(struc* i386. However the only possible error are caused by bugs. */ int ptrace_set_thread_area (struct task_struct *child,int idx, -struct user_desc __user *user_desc) +struct user_desc __user *user_desc) {struct user_desc info;
@@ -311,7 +312,7 @@ int ptrace_set_thread_area(struct task_sreturn set_tls_entry (child, &info, idx,0 ); } -asmlinkage int sys_get_thread_area(struct user_desc __user *user_desc) +int sys_get_thread_area (struct user_desc __user *user_desc) {struct user_desc info;int idx, ret;
include/asm-um/linkage.h +0 -7
@@ -3,11 +3,4 @@#include "asm/arch/linkage.h" - -/* <linux/linkage.h> will pick sane defaults */ -#ifdef CONFIG_GPROF -#undef FASTCALL -#undef fastcall -#endif -#endif
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel