forked from KolibriOS/kolibrios
21 lines
450 B
C
21 lines
450 B
C
|
#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__ */
|