Messages in this thread |  | | Subject | Re: Device to device data transfer woes | | Date | Sat, 23 Jan 1999 19:29:50 +0100 | | From | Philip Blundell <> |
| |
>I am writing a char driver that needs to access the audio system >directly. This is no problem, except that the file operations of the audio >driver expect data to be in user space.
Use set_fs(get_ds()) to allow the user memory access functions to get at kernel memory too. You need to save the old value beforehand and restore it afterwards.
p.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |