setup.c (f83d9396d1f63048c423efa00e4e244da10a35fd) | setup.c (1631ba1259d6d7f49b6028f2a1a0fa02be1c522a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd. 4 * Chen Liqin <liqin.chen@sunplusct.com> 5 * Lennox Wu <lennox.wu@sunplusct.com> 6 * Copyright (C) 2012 Regents of the University of California 7 * Copyright (C) 2020 FORTH-ICS/CARV 8 * Nick Kossifidis <mick@ics.forth.gr> --- 8 unchanged lines hidden (view full) --- 17#include <linux/of_fdt.h> 18#include <linux/of_platform.h> 19#include <linux/sched/task.h> 20#include <linux/smp.h> 21#include <linux/efi.h> 22#include <linux/crash_dump.h> 23 24#include <asm/alternative.h> | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd. 4 * Chen Liqin <liqin.chen@sunplusct.com> 5 * Lennox Wu <lennox.wu@sunplusct.com> 6 * Copyright (C) 2012 Regents of the University of California 7 * Copyright (C) 2020 FORTH-ICS/CARV 8 * Nick Kossifidis <mick@ics.forth.gr> --- 8 unchanged lines hidden (view full) --- 17#include <linux/of_fdt.h> 18#include <linux/of_platform.h> 19#include <linux/sched/task.h> 20#include <linux/smp.h> 21#include <linux/efi.h> 22#include <linux/crash_dump.h> 23 24#include <asm/alternative.h> |
25#include <asm/cacheflush.h> |
|
25#include <asm/cpu_ops.h> 26#include <asm/early_ioremap.h> 27#include <asm/pgtable.h> 28#include <asm/setup.h> 29#include <asm/set_memory.h> 30#include <asm/sections.h> 31#include <asm/sbi.h> 32#include <asm/tlbflush.h> --- 258 unchanged lines hidden (view full) --- 291 kasan_init(); 292#endif 293 294#ifdef CONFIG_SMP 295 setup_smp(); 296#endif 297 298 riscv_fill_hwcap(); | 26#include <asm/cpu_ops.h> 27#include <asm/early_ioremap.h> 28#include <asm/pgtable.h> 29#include <asm/setup.h> 30#include <asm/set_memory.h> 31#include <asm/sections.h> 32#include <asm/sbi.h> 33#include <asm/tlbflush.h> --- 258 unchanged lines hidden (view full) --- 292 kasan_init(); 293#endif 294 295#ifdef CONFIG_SMP 296 setup_smp(); 297#endif 298 299 riscv_fill_hwcap(); |
300 riscv_init_cbom_blocksize(); |
|
299 apply_boot_alternatives(); 300} 301 302static int __init topology_init(void) 303{ 304 int i, ret; 305 306 for_each_possible_cpu(i) { --- 22 unchanged lines hidden --- | 301 apply_boot_alternatives(); 302} 303 304static int __init topology_init(void) 305{ 306 int i, ret; 307 308 for_each_possible_cpu(i) { --- 22 unchanged lines hidden --- |