init.c (c313ec66317d421fb5768d78c56abed2dc862264) init.c (aa8c6248f8c75acfd610fe15d8cae23cf70d9d09)
1#include <linux/gfp.h>
2#include <linux/initrd.h>
3#include <linux/ioport.h>
4#include <linux/swap.h>
5#include <linux/memblock.h>
6#include <linux/bootmem.h> /* for max_low_pfn */
7
8#include <asm/set_memory.h>

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

15#include <asm/tlbflush.h>
16#include <asm/tlb.h>
17#include <asm/proto.h>
18#include <asm/dma.h> /* for MAX_DMA_PFN */
19#include <asm/microcode.h>
20#include <asm/kaslr.h>
21#include <asm/hypervisor.h>
22#include <asm/cpufeature.h>
1#include <linux/gfp.h>
2#include <linux/initrd.h>
3#include <linux/ioport.h>
4#include <linux/swap.h>
5#include <linux/memblock.h>
6#include <linux/bootmem.h> /* for max_low_pfn */
7
8#include <asm/set_memory.h>

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

15#include <asm/tlbflush.h>
16#include <asm/tlb.h>
17#include <asm/proto.h>
18#include <asm/dma.h> /* for MAX_DMA_PFN */
19#include <asm/microcode.h>
20#include <asm/kaslr.h>
21#include <asm/hypervisor.h>
22#include <asm/cpufeature.h>
23#include <asm/pti.h>
23
24/*
25 * We need to define the tracepoints somewhere, and tlb.c
26 * is only compied when SMP=y.
27 */
28#define CREATE_TRACE_POINTS
29#include <trace/events/tlb.h>
30

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

625 step_size = get_new_step_size(step_size);
626 }
627}
628
629void __init init_mem_mapping(void)
630{
631 unsigned long end;
632
24
25/*
26 * We need to define the tracepoints somewhere, and tlb.c
27 * is only compied when SMP=y.
28 */
29#define CREATE_TRACE_POINTS
30#include <trace/events/tlb.h>
31

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

626 step_size = get_new_step_size(step_size);
627 }
628}
629
630void __init init_mem_mapping(void)
631{
632 unsigned long end;
633
634 pti_check_boottime_disable();
633 probe_page_size_mask();
634 setup_pcid();
635
636#ifdef CONFIG_X86_64
637 end = max_pfn << PAGE_SHIFT;
638#else
639 end = max_low_pfn << PAGE_SHIFT;
640#endif

--- 230 unchanged lines hidden ---
635 probe_page_size_mask();
636 setup_pcid();
637
638#ifdef CONFIG_X86_64
639 end = max_pfn << PAGE_SHIFT;
640#else
641 end = max_low_pfn << PAGE_SHIFT;
642#endif

--- 230 unchanged lines hidden ---