ddk: v4.4.78

git-svn-id: svn://kolibrios.org@6934 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2017-07-27 10:22:14 +00:00
parent ed0c1f6d3a
commit 8a4553d3a9
46 changed files with 1204 additions and 169 deletions

View File

@@ -0,0 +1,20 @@
#ifndef __LINUX_UACCESS_H__
#define __LINUX_UACCESS_H__
#include <linux/sched.h>
/*
* These routines enable/disable the pagefault handler. If disabled, it will
* not take any locks and go straight to the fixup table.
*
* User access methods will not sleep when called from a pagefault_disabled()
* environment.
*/
static inline void pagefault_disable(void)
{
}
static inline void pagefault_enable(void)
{
}
#endif /* __LINUX_UACCESS_H__ */