mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 16:35:42 -04:00
LinuxKPI: Convert schedule() to inlined function
to prevent name clashing with drm-kmod
MFC after: 1 week
Reviewed by: hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33294
(cherry picked from commit 7ec6cbf1d2)
This commit is contained in:
parent
8dc3f129c4
commit
d93c8a4d5a
1 changed files with 6 additions and 2 deletions
|
|
@ -161,8 +161,12 @@ linux_schedule_get_interrupt_value(struct task_struct *task)
|
|||
return (value);
|
||||
}
|
||||
|
||||
#define schedule() \
|
||||
(void)linux_schedule_timeout(MAX_SCHEDULE_TIMEOUT)
|
||||
static inline void
|
||||
schedule(void)
|
||||
{
|
||||
(void)linux_schedule_timeout(MAX_SCHEDULE_TIMEOUT);
|
||||
}
|
||||
|
||||
#define schedule_timeout(timeout) \
|
||||
linux_schedule_timeout(timeout)
|
||||
#define schedule_timeout_killable(timeout) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue