This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / linux / uaccess.h
diff --git a/include/linux/uaccess.h b/include/linux/uaccess.h
new file mode 100644 (file)
index 0000000..391e7ed
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef __LINUX_UACCESS_H__
+#define __LINUX_UACCESS_H__
+
+#include <asm/uaccess.h>
+
+#ifndef ARCH_HAS_NOCACHE_UACCESS
+
+static inline unsigned long __copy_from_user_inatomic_nocache(void *to,
+                               const void __user *from, unsigned long n)
+{
+       return __copy_from_user_inatomic(to, from, n);
+}
+
+static inline unsigned long __copy_from_user_nocache(void *to,
+                               const void __user *from, unsigned long n)
+{
+       return __copy_from_user(to, from, n);
+}
+
+#endif         /* ARCH_HAS_NOCACHE_UACCESS */
+
+#endif         /* __LINUX_UACCESS_H__ */