Skip to contentSkip to conversation

x86: ldt.c declare sys_modify_ldt before they get used

PATCH New Jaswinder Singh 1 participant 1 message Dec 15, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: ldt.c declare sys_modify_ldt before they get used

In asm/syscalls.h moved out sys_modify_ldt from CONFIG_X86_32 as it is common for both 32 and 64 bit.

---
 arch/x86/include/asm/syscalls.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/include/asm/syscalls.h +3 -3
index 3a5252c..57dd724 100644
@@ -19,6 +19,9 @@
 /* kernel/ioport.c */
 asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
 
+/* kernel/ldt.c */
+asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
+
 /* X86_32 only */
 #ifdef CONFIG_X86_32
 /* kernel/process_32.c */
@@ -38,9 +41,6 @@ asmlinkage int sys_rt_sigreturn(struct pt_regs);
 /* kernel/ioport.c */
 asmlinkage long sys_iopl(unsigned long);
 
-/* kernel/ldt.c */
-asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
-
 /* kernel/sys_i386_32.c */
 asmlinkage long sys_mmap2(unsigned long, unsigned long, unsigned long,
 			  unsigned long, unsigned long, unsigned long);
Signature · 1 line
1.5.5.1