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:
parent
2fb5be7978
commit
f1a7639a16
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -32,6 +32,7 @@
|
||||
#ifndef _LINUX_LOCKDEP_H_
|
||||
#define _LINUX_LOCKDEP_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/lock.h>
|
||||
|
||||
struct lock_class_key {
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/gfp.h>
|
||||
#include <linux/llist.h>
|
||||
#include <linux/overflow.h>
|
||||
|
||||
MALLOC_DECLARE(M_KMALLOC);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user