|
@@ -262,16 +262,12 @@ struct tss_struct {
|
|
unsigned long io_bitmap_max;
|
|
unsigned long io_bitmap_max;
|
|
struct thread_struct *io_bitmap_owner;
|
|
struct thread_struct *io_bitmap_owner;
|
|
|
|
|
|
- /*
|
|
|
|
- * Pad the TSS to be cacheline-aligned (size is 0x100):
|
|
|
|
- */
|
|
|
|
- unsigned long __cacheline_filler[35];
|
|
|
|
/*
|
|
/*
|
|
* .. and then another 0x100 bytes for the emergency kernel stack:
|
|
* .. and then another 0x100 bytes for the emergency kernel stack:
|
|
*/
|
|
*/
|
|
unsigned long stack[64];
|
|
unsigned long stack[64];
|
|
|
|
|
|
-} __attribute__((packed));
|
|
|
|
|
|
+} ____cacheline_aligned;
|
|
|
|
|
|
DECLARE_PER_CPU(struct tss_struct, init_tss);
|
|
DECLARE_PER_CPU(struct tss_struct, init_tss);
|
|
|
|
|