Searched hist:a61f334fd2864b9b040f7e882726426ed7e8a317 (Results 1 – 7 of 7) sorted by relevance
/linux/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|
/linux/arch/um/os-Linux/ |
H A D | sigio.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|
H A D | process.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|
H A D | mem.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|
H A D | helper.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|
/linux/arch/um/os-Linux/skas/ |
H A D | mem.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|
H A D | process.c | diff a61f334fd2864b9b040f7e882726426ed7e8a317 Sun May 06 23:51:35 CEST 2007 Jeff Dike <jdike@addtoit.com> uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls directly to libc read() and write() where it is clear that the I/O buffer is in the kernel.
We can do that here instead of calling os_{read,write}_file_k since we are in libc code and can call libc directly.
With the change in the calls, error handling needs to be changed to refer to errno directly rather than the return value of the call.
CATCH_EINTR wrappers were also added where needed.
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>
|