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.2.6~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=034089b6f4e2ae0d0df38f3409cd73c386ad069a;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed