~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to include/linux/uaccess.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 * Safely read from address @src to the buffer at @dst.  If a kernel fault
94
94
 * happens, handle that and return -EFAULT.
95
95
 */
96
 
extern long probe_kernel_read(void *dst, void *src, size_t size);
97
 
extern long __probe_kernel_read(void *dst, void *src, size_t size);
 
96
extern long probe_kernel_read(void *dst, const void *src, size_t size);
 
97
extern long __probe_kernel_read(void *dst, const void *src, size_t size);
98
98
 
99
99
/*
100
100
 * probe_kernel_write(): safely attempt to write to a location
105
105
 * Safely write to address @dst from the buffer at @src.  If a kernel fault
106
106
 * happens, handle that and return -EFAULT.
107
107
 */
108
 
extern long notrace probe_kernel_write(void *dst, void *src, size_t size);
109
 
extern long notrace __probe_kernel_write(void *dst, void *src, size_t size);
 
108
extern long notrace probe_kernel_write(void *dst, const void *src, size_t size);
 
109
extern long notrace __probe_kernel_write(void *dst, const void *src, size_t size);
110
110
 
111
111
#endif          /* __LINUX_UACCESS_H__ */