linuxkpi: Include linux/sched/mm.h
from linux/sched.h
At least one file in the DRM drivers benefits from some namespace pollution to use `fs_reclaim_acquire()`/`fs_reclaim_release()`. They are defined in `linux/sched/mm.h` and this header must be included indirectly into the DRM drivers' source file. I couldn't find how it was included. Therefore this commit includes `linux/sched/mm.h` from `linux/sched.h`. This is not the case in Linux but fixes the issue with the DRM drivers. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D37912
This commit is contained in:
parent
e7f9bdb4a6
commit
8c46bd9f86
@ -50,6 +50,8 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/time.h>
|
||||
|
||||
#include <linux/sched/mm.h>
|
||||
|
||||
#include <asm/atomic.h>
|
||||
|
||||
#define MAX_SCHEDULE_TIMEOUT INT_MAX
|
||||
|
Loading…
Reference in New Issue
Block a user