Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef __LINUX_UACCESS_H__
  2. #define __LINUX_UACCESS_H__
  3.  
  4. #include <linux/sched.h>
  5. /*
  6.  * These routines enable/disable the pagefault handler. If disabled, it will
  7.  * not take any locks and go straight to the fixup table.
  8.  *
  9.  * User access methods will not sleep when called from a pagefault_disabled()
  10.  * environment.
  11.  */
  12. static inline void pagefault_disable(void)
  13. {
  14. }
  15.  
  16. static inline void pagefault_enable(void)
  17. {
  18. }
  19.  
  20. #endif          /* __LINUX_UACCESS_H__ */
  21.