From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/include/linux/sched/hotplug.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/kernel/include/linux/sched/hotplug.h b/kernel/include/linux/sched/hotplug.h index 9a62ffd..89fb9b0 100644 --- a/kernel/include/linux/sched/hotplug.h +++ b/kernel/include/linux/sched/hotplug.h @@ -8,7 +8,11 @@ extern int sched_cpu_starting(unsigned int cpu); extern int sched_cpu_activate(unsigned int cpu); +extern int sched_cpus_activate(struct cpumask *cpus); extern int sched_cpu_deactivate(unsigned int cpu); +extern int sched_cpus_deactivate_nosync(struct cpumask *cpus); +extern int sched_cpu_drain_rq(unsigned int cpu); +extern void sched_cpu_drain_rq_wait(unsigned int cpu); #ifdef CONFIG_HOTPLUG_CPU extern int sched_cpu_dying(unsigned int cpu); -- Gitblit v1.6.2