drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / arch / riscv / include / asm / cpu_ops_sbi.h
blobd6e4665b31954ca5edfa2f078e3af632c81fbc3f
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2021 by Rivos Inc.
4 */
5 #ifndef __ASM_CPU_OPS_SBI_H
6 #define __ASM_CPU_OPS_SBI_H
8 #ifndef __ASSEMBLY__
9 #include <linux/init.h>
10 #include <linux/sched.h>
11 #include <linux/threads.h>
13 extern const struct cpu_operations cpu_ops_sbi;
15 /**
16 * struct sbi_hart_boot_data - Hart specific boot used during booting and
17 * cpu hotplug.
18 * @task_ptr: A pointer to the hart specific tp
19 * @stack_ptr: A pointer to the hart specific sp
21 struct sbi_hart_boot_data {
22 void *task_ptr;
23 void *stack_ptr;
25 #endif
27 #endif /* ifndef __ASM_CPU_OPS_SBI_H */