/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2020 Western Digital Corporation or its affiliates. * Based on arch/arm64/include/asm/cpu_ops.h
*/ #ifndef __ASM_CPU_OPS_H #define __ASM_CPU_OPS_H
/** * struct cpu_operations - Callback operations for hotplugging CPUs. * * @cpu_start: Boots a cpu into the kernel. * @cpu_stop: Makes a cpu leave the kernel. Must not fail. Called from * the cpu being stopped. * @cpu_is_stopped: Ensures a cpu has left the kernel. Called from another * cpu.
*/ struct cpu_operations { int (*cpu_start)(unsignedint cpu, struct task_struct *tidle); #ifdef CONFIG_HOTPLUG_CPU void (*cpu_stop)(void); int (*cpu_is_stopped)(unsignedint cpu); #endif
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.