LinuxKPI: Add some typical header pollution

To reduce amount of drm-kmod patching

MFC after:	1 week
Reviewed by:	hselasky, manu
Differential Revision:	https://reviews.freebsd.org/D33297
This commit is contained in:
Vladimir Kondratyev 2021-12-04 13:00:53 +03:00
parent 2fb5be7978
commit f1a7639a16
5 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,9 @@
#include <linux/workqueue.h>
#include <linux/kdev_t.h>
#include <linux/backlight.h>
#include <linux/pm.h>
#include <linux/idr.h>
#include <linux/ratelimit.h> /* via linux/dev_printk.h */
#include <asm/atomic.h>
#include <sys/bus.h>

View File

@ -43,6 +43,8 @@
#include <linux/semaphore.h>
#include <linux/spinlock.h>
#include <linux/dcache.h>
#include <linux/capability.h>
#include <linux/wait_bit.h>
struct module;
struct kiocb;

View File

@ -32,6 +32,7 @@
#ifndef _LINUX_LOCKDEP_H_
#define _LINUX_LOCKDEP_H_
#include <sys/types.h>
#include <sys/lock.h>
struct lock_class_key {

View File

@ -39,6 +39,7 @@
#include <linux/types.h>
#include <linux/gfp.h>
#include <linux/llist.h>
#include <linux/overflow.h>
MALLOC_DECLARE(M_KMALLOC);

View File

@ -41,6 +41,7 @@
#include <linux/compiler.h>
#include <linux/rwlock.h>
#include <linux/bottom_half.h>
#include <linux/lockdep.h>
typedef struct {
struct mtx m;