Fix duplicate atomic_t typedef conflicting with types.h
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef _LINUX_SCHED_HOTPLUG_H
|
||||
#define _LINUX_SCHED_HOTPLUG_H
|
||||
|
||||
/*
|
||||
* Scheduler interfaces for hotplug CPU support:
|
||||
*/
|
||||
|
||||
extern int sched_cpu_starting(unsigned int cpu);
|
||||
extern int sched_cpu_activate(unsigned int cpu);
|
||||
extern int sched_cpu_deactivate(unsigned int cpu);
|
||||
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
extern int sched_cpu_wait_empty(unsigned int cpu);
|
||||
extern int sched_cpu_dying(unsigned int cpu);
|
||||
#else
|
||||
# define sched_cpu_wait_empty NULL
|
||||
# define sched_cpu_dying NULL
|
||||
#endif
|
||||
|
||||
static inline void idle_task_exit(void) {}
|
||||
|
||||
#endif /* _LINUX_SCHED_HOTPLUG_H */
|
||||
Reference in New Issue
Block a user