2 * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
6 #ifndef __UML_UACCESS_H__
7 #define __UML_UACCESS_H__
9 extern int __do_copy_to_user(void *to
, const void *from
, int n
,
10 void **fault_addr
, void **fault_catcher
);
11 extern unsigned long __do_user_copy(void *to
, const void *from
, int n
,
12 void **fault_addr
, void **fault_catcher
,
13 void (*op
)(void *to
, const void *from
,
14 int n
), int *faulted_out
);
15 void __do_copy(void *to
, const void *from
, int n
);
20 * Overrides for Emacs so that we follow Linus's tabbing style.
21 * Emacs will notice this stuff at the end of the file and automatically
22 * adjust the settings for this buffer only. This must remain at the end
24 * ---------------------------------------------------------------------------
26 * c-file-style: "linux"