patch-2.4.8 linux/include/asm-i386/desc.h

Next file: linux/include/asm-i386/fixmap.h
Previous file: linux/include/asm-i386/cobalt.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/include/asm-i386/desc.h linux/include/asm-i386/desc.h
@@ -69,7 +69,7 @@
 extern void set_ldt_desc(unsigned int n, void *addr, unsigned int size);
 extern void set_tss_desc(unsigned int n, void *addr);
 
-extern inline void clear_LDT(void)
+static inline void clear_LDT(void)
 {
 	int cpu = smp_processor_id();
 	set_ldt_desc(cpu, &default_ldt[0], 5);
@@ -79,7 +79,7 @@
 /*
  * load one particular LDT into the current CPU
  */
-extern inline void load_LDT (struct mm_struct *mm)
+static inline void load_LDT (struct mm_struct *mm)
 {
 	int cpu = smp_processor_id();
 	void *segments = mm->context.segments;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)