smp.c (cc7f3f72dc2ae2b383142896d79ca1e237ad7e8b) smp.c (2bc3fc877aa9c4c8b80cc49f66dfcb7e4857a128)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * SMP initialisation and IPI support
4 * Based on arch/arm64/kernel/smp.c
5 *
6 * Copyright (C) 2012 ARM Ltd.
7 * Copyright (C) 2015 Regents of the University of California
8 * Copyright (C) 2017 SiFive

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

13#include <linux/module.h>
14#include <linux/profile.h>
15#include <linux/smp.h>
16#include <linux/sched.h>
17#include <linux/seq_file.h>
18#include <linux/delay.h>
19#include <linux/irq_work.h>
20
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * SMP initialisation and IPI support
4 * Based on arch/arm64/kernel/smp.c
5 *
6 * Copyright (C) 2012 ARM Ltd.
7 * Copyright (C) 2015 Regents of the University of California
8 * Copyright (C) 2017 SiFive

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

13#include <linux/module.h>
14#include <linux/profile.h>
15#include <linux/smp.h>
16#include <linux/sched.h>
17#include <linux/seq_file.h>
18#include <linux/delay.h>
19#include <linux/irq_work.h>
20
21#include <asm/clint.h>
22#include <asm/sbi.h>
23#include <asm/tlbflush.h>
24#include <asm/cacheflush.h>
25
26enum ipi_message_type {
27 IPI_RESCHEDULE,
28 IPI_CALL_FUNC,
29 IPI_CPU_STOP,

--- 221 unchanged lines hidden ---
21#include <asm/sbi.h>
22#include <asm/tlbflush.h>
23#include <asm/cacheflush.h>
24
25enum ipi_message_type {
26 IPI_RESCHEDULE,
27 IPI_CALL_FUNC,
28 IPI_CPU_STOP,

--- 221 unchanged lines hidden ---