linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-i386 / desc.h
index fdecfa0..89b8b82 100644 (file)
@@ -162,20 +162,6 @@ static inline unsigned long get_desc_base(unsigned long *desc)
        return base;
 }
 
-static inline void set_user_cs(struct desc_struct *desc, unsigned long limit)
-{
-       limit = (limit - 1) / PAGE_SIZE;
-       desc->a = limit & 0xffff;
-       desc->b = (limit & 0xf0000) | 0x00c0fb00;
-}
-
-#define load_user_cs_desc(cpu, mm) \
-       get_cpu_gdt_table(cpu)[GDT_ENTRY_DEFAULT_USER_CS] = (mm)->context.user_cs
-
-extern void arch_add_exec_range(struct mm_struct *mm, unsigned long limit);
-extern void arch_remove_exec_range(struct mm_struct *mm, unsigned long limit);
-extern void arch_flush_exec_range(struct mm_struct *mm);
-
 #endif /* !__ASSEMBLY__ */
 
 #endif