Skip to content

Commit

Permalink
linuxkpi: Include <linux/rbtree.h> from <linux/hrtimer.h> and <linux/…
Browse files Browse the repository at this point in the history
…mm_types.h>

[Why]
Some files in DRM rely on this indirect include to use `struct rb_*`.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D42835
  • Loading branch information
dumbbell committed Nov 29, 2023
1 parent 40c20fc commit b292c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys/compat/linuxkpi/common/include/linux/hrtimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <sys/_mutex.h>

#include <linux/ktime.h>
#include <linux/rbtree.h>
#include <linux/timer.h>

enum hrtimer_mode {
Expand Down
1 change: 1 addition & 0 deletions sys/compat/linuxkpi/common/include/linux/mm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include <linux/types.h>
#include <linux/page.h>
#include <linux/rbtree.h>
#include <linux/rwsem.h>

#include <asm/atomic.h>
Expand Down

0 comments on commit b292c99

Please sign in to comment.