common.c (72f5e08dbba2d01aa90b592cf76c378ea233b00b) common.c (7f2590a110b837af5679d08fc25c6227c5a8c497)
1#include <linux/bootmem.h>
2#include <linux/linkage.h>
3#include <linux/bitops.h>
4#include <linux/kernel.h>
5#include <linux/export.h>
6#include <linux/percpu.h>
7#include <linux/string.h>
8#include <linux/ctype.h>

--- 1609 unchanged lines hidden (view full) ---

1618 me->active_mm = &init_mm;
1619 BUG_ON(me->mm);
1620 initialize_tlbstate_and_flush();
1621 enter_lazy_tlb(&init_mm, me);
1622
1623 setup_cpu_entry_area(cpu);
1624
1625 /*
1#include <linux/bootmem.h>
2#include <linux/linkage.h>
3#include <linux/bitops.h>
4#include <linux/kernel.h>
5#include <linux/export.h>
6#include <linux/percpu.h>
7#include <linux/string.h>
8#include <linux/ctype.h>

--- 1609 unchanged lines hidden (view full) ---

1618 me->active_mm = &init_mm;
1619 BUG_ON(me->mm);
1620 initialize_tlbstate_and_flush();
1621 enter_lazy_tlb(&init_mm, me);
1622
1623 setup_cpu_entry_area(cpu);
1624
1625 /*
1626 * Initialize the TSS. Don't bother initializing sp0, as the initial
1627 * task never enters user mode.
1626 * Initialize the TSS. sp0 points to the entry trampoline stack
1627 * regardless of what task is running.
1628 */
1629 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss);
1630 load_TR_desc();
1628 */
1629 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss);
1630 load_TR_desc();
1631 load_sp0((unsigned long)&get_cpu_entry_area(cpu)->tss +
1632 offsetofend(struct tss_struct, SYSENTER_stack));
1631
1632 load_mm_ldt(&init_mm);
1633
1634 clear_all_debug_regs();
1635 dbg_restore_debug_regs();
1636
1637 fpu__init_cpu();
1638

--- 86 unchanged lines hidden ---
1633
1634 load_mm_ldt(&init_mm);
1635
1636 clear_all_debug_regs();
1637 dbg_restore_debug_regs();
1638
1639 fpu__init_cpu();
1640

--- 86 unchanged lines hidden ---