commit | b49767a65a6454f7d546068a785e25dbb0eabbcd | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Tue Jan 31 17:14:54 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Feb 13 11:06:06 2012 -0800 |
tree | 609b2aa8fbb525f644bf524837e3bb458c566ae1 | |
parent | 401f63716ca0bca1728e55ccf2132fb3785cf5da [diff] |
proc: unify mem_read() and mem_write() commit 572d34b946bae070debd42db1143034d9687e13f upstream. No functional changes, cleanup and preparation. mem_read() and mem_write() are very similar. Move this code into the new common helper, mem_rw(), which takes the additional "int write" argument. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>