[PATCH] irq-flags: consolidate flags for request_irq
[linux-2.6/linux-loongson.git] / include / linux / uaccess.h
blob391e7ed1eb3fc05ea2eeb8548e42381c8aefa7e5
1 #ifndef __LINUX_UACCESS_H__
2 #define __LINUX_UACCESS_H__
4 #include <asm/uaccess.h>
6 #ifndef ARCH_HAS_NOCACHE_UACCESS
8 static inline unsigned long __copy_from_user_inatomic_nocache(void *to,
9 const void __user *from, unsigned long n)
11 return __copy_from_user_inatomic(to, from, n);
14 static inline unsigned long __copy_from_user_nocache(void *to,
15 const void __user *from, unsigned long n)
17 return __copy_from_user(to, from, n);
20 #endif /* ARCH_HAS_NOCACHE_UACCESS */
22 #endif /* __LINUX_UACCESS_H__ */