Pull ia64-clocksource into release branch
[pandora-kernel.git] / arch / x86_64 / kernel / init_task.c
index ce31d90..4ff33d4 100644 (file)
@@ -44,6 +44,11 @@ EXPORT_SYMBOL(init_task);
  * section. Since TSS's are completely CPU-local, we want them
  * on exact cacheline boundaries, to eliminate cacheline ping-pong.
  */ 
-DEFINE_PER_CPU(struct tss_struct, init_tss) ____cacheline_internodealigned_in_smp = INIT_TSS;
+DEFINE_PER_CPU_SHARED_ALIGNED(struct tss_struct, init_tss) = INIT_TSS;
+
+/* Copies of the original ist values from the tss are only accessed during
+ * debugging, no special alignment required.
+ */
+DEFINE_PER_CPU(struct orig_ist, orig_ist);
 
 #define ALIGN_TO_4K __attribute__((section(".data.init_task")))