|
@@ -818,22 +818,6 @@ static inline void spin_lock_prefetch(const void *x)
|
|
.io_bitmap_ptr = NULL, \
|
|
.io_bitmap_ptr = NULL, \
|
|
}
|
|
}
|
|
|
|
|
|
-/*
|
|
|
|
- * Note that the .io_bitmap member must be extra-big. This is because
|
|
|
|
- * the CPU will access an additional byte beyond the end of the IO
|
|
|
|
- * permission bitmap. The extra byte must be all 1 bits, and must
|
|
|
|
- * be within the limit.
|
|
|
|
- */
|
|
|
|
-#define INIT_TSS { \
|
|
|
|
- .x86_tss = { \
|
|
|
|
- .sp0 = sizeof(init_stack) + (long)&init_stack, \
|
|
|
|
- .ss0 = __KERNEL_DS, \
|
|
|
|
- .ss1 = __KERNEL_CS, \
|
|
|
|
- .io_bitmap_base = INVALID_IO_BITMAP_OFFSET, \
|
|
|
|
- }, \
|
|
|
|
- .io_bitmap = { [0 ... IO_BITMAP_LONGS] = ~0 }, \
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
extern unsigned long thread_saved_pc(struct task_struct *tsk);
|
|
extern unsigned long thread_saved_pc(struct task_struct *tsk);
|
|
|
|
|
|
#define THREAD_SIZE_LONGS (THREAD_SIZE/sizeof(unsigned long))
|
|
#define THREAD_SIZE_LONGS (THREAD_SIZE/sizeof(unsigned long))
|
|
@@ -892,10 +876,6 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk);
|
|
.sp0 = (unsigned long)&init_stack + sizeof(init_stack) \
|
|
.sp0 = (unsigned long)&init_stack + sizeof(init_stack) \
|
|
}
|
|
}
|
|
|
|
|
|
-#define INIT_TSS { \
|
|
|
|
- .x86_tss.sp0 = (unsigned long)&init_stack + sizeof(init_stack) \
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Return saved PC of a blocked thread.
|
|
* Return saved PC of a blocked thread.
|
|
* What is this good for? it will be always the scheduler or ret_from_fork.
|
|
* What is this good for? it will be always the scheduler or ret_from_fork.
|