X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fdesc.h;h=68ac3c62fe3defd95145eb2bc80b7c2361c2e1d7;hb=3c8c7b2f32c52b259daa7564fefd582146799b23;hp=c89b58bebee24619f9ae2b5ad903b752f5e1ec12;hpb=31151ba2cef171344beac254e65bd7e00138bb0d;p=powerpc.git diff --git a/include/asm-x86_64/desc.h b/include/asm-x86_64/desc.h index c89b58bebe..68ac3c62fe 100644 --- a/include/asm-x86_64/desc.h +++ b/include/asm-x86_64/desc.h @@ -8,6 +8,8 @@ #ifndef __ASSEMBLY__ #include +#include + #include #include @@ -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;