diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:03 -0400 |
commit | a6ea4cceed18edebe1eb6001cb9e0f88cd741a6c (patch) | |
tree | 4a747a92c9bd7a8703004603ee9e91f8bfb7e95a /arch/um/drivers/chan_kern.c | |
parent | a263672424e591067e42e1d8371e56927fe73af8 (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/chan_kern.c')
-rw-r--r-- | arch/um/drivers/chan_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/chan_kern.c b/arch/um/drivers/chan_kern.c index 92e069e8253f..3aa351611763 100644 --- a/arch/um/drivers/chan_kern.c +++ b/arch/um/drivers/chan_kern.c | |||
@@ -98,7 +98,7 @@ int generic_read(int fd, char *c_out, void *unused) | |||
98 | { | 98 | { |
99 | int n; | 99 | int n; |
100 | 100 | ||
101 | n = os_read_file_k(fd, c_out, sizeof(*c_out)); | 101 | n = os_read_file(fd, c_out, sizeof(*c_out)); |
102 | 102 | ||
103 | if(n == -EAGAIN) | 103 | if(n == -EAGAIN) |
104 | return 0; | 104 | return 0; |
@@ -111,7 +111,7 @@ int generic_read(int fd, char *c_out, void *unused) | |||
111 | 111 | ||
112 | int generic_write(int fd, const char *buf, int n, void *unused) | 112 | int generic_write(int fd, const char *buf, int n, void *unused) |
113 | { | 113 | { |
114 | return os_write_file_k(fd, buf, n); | 114 | return os_write_file(fd, buf, n); |
115 | } | 115 | } |
116 | 116 | ||
117 | int generic_window_size(int fd, void *unused, unsigned short *rows_out, | 117 | int generic_window_size(int fd, void *unused, unsigned short *rows_out, |