Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2001 Jeff Dike (jdike@karaya.com) |
| 3 | * Licensed under the GPL |
| 4 | */ |
| 5 | |
| 6 | #ifndef __UML_UACCESS_H__ |
| 7 | #define __UML_UACCESS_H__ |
| 8 | |
| 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); |
| 16 | |
| 17 | #endif |
| 18 | |
| 19 | /* |
| 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 |
| 23 | * of the file. |
| 24 | * --------------------------------------------------------------------------- |
| 25 | * Local variables: |
| 26 | * c-file-style: "linux" |
| 27 | * End: |
| 28 | */ |