Skip to contentSkip to conversation

x86: tls.c declare sys_set_thread_area and sys_get_thread_area before they get used

PATCH In review Jaswinder Singh 2 participants 2 messages Dec 17, 2008 – Dec 18, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: tls.c declare sys_set_thread_area and sys_get_thread_area before they get used

Impact: cleanup

In asm/syscalls.h moved out sys_set_thread_area and sys_get_thread_area as it is common for both 32 and 64 bit.

---
 arch/x86/include/asm/syscalls.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/asm/syscalls.h +4 -4
index 57dd724..9c6797c 100644
@@ -22,6 +22,10 @@ asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
 /* kernel/ldt.c */
 asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
 
+/* kernel/tls.c */
+asmlinkage int sys_set_thread_area(struct user_desc __user *);
+asmlinkage int sys_get_thread_area(struct user_desc __user *);
+
 /* X86_32 only */
 #ifdef CONFIG_X86_32
 /* kernel/process_32.c */
@@ -54,10 +58,6 @@ asmlinkage int sys_uname(struct old_utsname __user *);
 struct oldold_utsname;
 asmlinkage int sys_olduname(struct oldold_utsname __user *);
 
-/* kernel/tls.c */
-asmlinkage int sys_set_thread_area(struct user_desc __user *);
-asmlinkage int sys_get_thread_area(struct user_desc __user *);
-
 /* kernel/vm86_32.c */
 asmlinkage int sys_vm86old(struct pt_regs);
 asmlinkage int sys_vm86(struct pt_regs);
Signature · 1 line
1.5.5.1
#1 lore raw
Quoted 8 lines · Jaswinder Singh

Impact: cleanup

In asm/syscalls.h moved out sys_set_thread_area and sys_get_thread_area as it is common for both 32 and 64 bit.

---
 arch/x86/include/asm/syscalls.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

applied to tip/x86/cleanups, thanks Jaswinder!

Ingo