aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/hostaudio_kern.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 17:51:43 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:13:03 -0400
commita6ea4cceed18edebe1eb6001cb9e0f88cd741a6c (patch)
tree4a747a92c9bd7a8703004603ee9e91f8bfb7e95a /arch/um/drivers/hostaudio_kern.c
parenta263672424e591067e42e1d8371e56927fe73af8 (diff)
uml: rename os_{read_write}_file_k back to os_{read_write}_file
Rename os_{read_write}_file_k back to os_{read_write}_file, delete the originals and their bogus infrastructure, and fix all the callers. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/hostaudio_kern.c')
-rw-r--r--arch/um/drivers/hostaudio_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c
index bd6688ea96d..10e08a8c17c 100644
--- a/arch/um/drivers/hostaudio_kern.c
+++ b/arch/um/drivers/hostaudio_kern.c
@@ -84,7 +84,7 @@ static ssize_t hostaudio_read(struct file *file, char __user *buffer,
84 if(kbuf == NULL) 84 if(kbuf == NULL)
85 return(-ENOMEM); 85 return(-ENOMEM);
86 86
87 err = os_read_file_k(state->fd, kbuf, count); 87 err = os_read_file(state->fd, kbuf, count);
88 if(err < 0) 88 if(err < 0)
89 goto out; 89 goto out;
90 90
@@ -115,7 +115,7 @@ static ssize_t hostaudio_write(struct file *file, const char __user *buffer,
115 if(copy_from_user(kbuf, buffer, count)) 115 if(copy_from_user(kbuf, buffer, count))
116 goto out; 116 goto out;
117 117
118 err = os_write_file_k(state->fd, kbuf, count); 118 err = os_write_file(state->fd, kbuf, count);
119 if(err < 0) 119 if(err < 0)
120 goto out; 120 goto out;
121 *ppos += err; 121 *ppos += err;