From: Oleg Nesterov Date: Tue, 31 Jan 2012 16:14:54 +0000 (+0100) Subject: proc: unify mem_read() and mem_write() X-Git-Tag: v3.3-rc3~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=572d34b946bae070debd42db1143034d9687e13f;p=pandora-kernel.git proc: unify mem_read() and mem_write() 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. Cc: stable@kernel.org Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed