]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/x86_64/kernel/setup64.c
[PATCH] x86-64: Some cleanup and optimization to the processor data area.
[mv-sheeva.git] / arch / x86_64 / kernel / setup64.c
index 34082c1cc41e397f4254de5a6d22ba474ffeb90d..e8b54dccb3eea3571b4397827c41ee6e2febc8b9 100644 (file)
@@ -36,7 +36,7 @@ struct desc_ptr idt_descr = { 256 * 16, (unsigned long) idt_table };
 
 char boot_cpu_stack[IRQSTACKSIZE] __attribute__((section(".bss.page_aligned")));
 
-unsigned long __supported_pte_mask = ~0UL;
+unsigned long __supported_pte_mask __read_mostly = ~0UL;
 static int do_not_nx __initdata = 0;
 
 /* noexec=on|off
@@ -119,7 +119,6 @@ void pda_init(int cpu)
        asm volatile("movl %0,%%fs ; movl %0,%%gs" :: "r" (0)); 
        wrmsrl(MSR_GS_BASE, cpu_pda + cpu);
 
-       pda->me = pda;
        pda->cpunumber = cpu; 
        pda->irqcount = -1;
        pda->kernelstack =