setup-common.c (715a1284d89a740b197b3bad5eb20d36a397382f) | setup-common.c (923b3cf00b3ffc896543bac99affc0fa8553e41a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Common boot and setup code for both 32-bit and 64-bit. 4 * Extracted from arch/powerpc/kernel/setup_64.c. 5 * 6 * Copyright (C) 2001 PPC64 Team, IBM Corp 7 */ 8 --- 50 unchanged lines hidden (view full) --- 59#include <mm/mmu_decl.h> 60#include <asm/fadump.h> 61#include <asm/udbg.h> 62#include <asm/hugetlb.h> 63#include <asm/livepatch.h> 64#include <asm/mmu_context.h> 65#include <asm/cpu_has_feature.h> 66#include <asm/kasan.h> | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Common boot and setup code for both 32-bit and 64-bit. 4 * Extracted from arch/powerpc/kernel/setup_64.c. 5 * 6 * Copyright (C) 2001 PPC64 Team, IBM Corp 7 */ 8 --- 50 unchanged lines hidden (view full) --- 59#include <mm/mmu_decl.h> 60#include <asm/fadump.h> 61#include <asm/udbg.h> 62#include <asm/hugetlb.h> 63#include <asm/livepatch.h> 64#include <asm/mmu_context.h> 65#include <asm/cpu_has_feature.h> 66#include <asm/kasan.h> |
67#include <asm/mce.h> |
|
67 68#include "setup.h" 69 70#ifdef DEBUG 71#include <asm/udbg.h> 72#define DBG(fmt...) udbg_printf(fmt) 73#else 74#define DBG(fmt...) --- 858 unchanged lines hidden (view full) --- 933 init_mm.end_data = (unsigned long) _edata; 934 init_mm.brk = klimit; 935 936 mm_iommu_init(&init_mm); 937 irqstack_early_init(); 938 exc_lvl_early_init(); 939 emergency_stack_init(); 940 | 68 69#include "setup.h" 70 71#ifdef DEBUG 72#include <asm/udbg.h> 73#define DBG(fmt...) udbg_printf(fmt) 74#else 75#define DBG(fmt...) --- 858 unchanged lines hidden (view full) --- 934 init_mm.end_data = (unsigned long) _edata; 935 init_mm.brk = klimit; 936 937 mm_iommu_init(&init_mm); 938 irqstack_early_init(); 939 exc_lvl_early_init(); 940 emergency_stack_init(); 941 |
942 mce_init(); |
|
941 smp_release_cpus(); 942 943 initmem_init(); 944 945 early_memtest(min_low_pfn << PAGE_SHIFT, max_low_pfn << PAGE_SHIFT); 946 947 if (ppc_md.setup_arch) 948 ppc_md.setup_arch(); --- 14 unchanged lines hidden --- | 943 smp_release_cpus(); 944 945 initmem_init(); 946 947 early_memtest(min_low_pfn << PAGE_SHIFT, max_low_pfn << PAGE_SHIFT); 948 949 if (ppc_md.setup_arch) 950 ppc_md.setup_arch(); --- 14 unchanged lines hidden --- |