aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-02-18 11:31:14 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-18 11:31:14 -0500
commit83c5aac175e182c30729650f2edee3294c3b8bb0 (patch)
tree33a3ad885a9c74da05b25a97d9cc6b448b07861f /kernel/sched_rt.c
parent2fa298cf6d6bedf64f75644e9e8b0d64d2d83f27 (diff)
parent3b77fd8ee6a8ae34e349651e9d5f5000d1cc206e (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: add KEY_RFKILL Input: i8042 - fix KBC jam during hibernate
Diffstat (limited to 'kernel/sched_rt.c')
0 files changed, 0 insertions, 0 deletions
pc"> long ret; \ mm_segment_t old_fs = get_fs(); \ \ set_fs(KERNEL_DS); \ pagefault_disable(); \ ret = __copy_from_user_inatomic(&(retval), (__force typeof(retval) __user *)(addr), sizeof(retval)); \ pagefault_enable(); \ set_fs(old_fs); \ ret; \ }) /* * probe_kernel_read(): safely attempt to read from a location * @dst: pointer to the buffer that shall take the data * @src: address to read from * @size: size of the data chunk * * Safely read from address @src to the buffer at @dst. If a kernel fault * happens, handle that and return -EFAULT. */ extern long probe_kernel_read(void *dst, void *src, size_t size); /* * probe_kernel_write(): safely attempt to write to a location * @dst: address to write to * @src: pointer to the data that shall be written * @size: size of the data chunk * * Safely write to address @dst from the buffer at @src. If a kernel fault * happens, handle that and return -EFAULT. */ extern long probe_kernel_write(void *dst, void *src, size_t size); #endif /* __LINUX_UACCESS_H__ */