]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-x86_64/desc.h
[PATCH] unify sys_ptrace prototype
[karo-tx-linux.git] / include / asm-x86_64 / desc.h
index c89b58bebee24619f9ae2b5ad903b752f5e1ec12..68ac3c62fe3defd95145eb2bc80b7c2361c2e1d7 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef __ASSEMBLY__
 
 #include <linux/string.h>
+#include <linux/smp.h>
+
 #include <asm/segment.h>
 #include <asm/mmu.h>
 
@@ -191,7 +193,7 @@ static inline void load_TLS(struct thread_struct *t, unsigned int cpu)
 /*
  * load one particular LDT into the current CPU
  */
-extern inline void load_LDT_nolock (mm_context_t *pc, int cpu)
+static inline void load_LDT_nolock (mm_context_t *pc, int cpu)
 {
        int count = pc->size;