Home
last modified time | relevance | path

Searched hist:"572 d34b946bae070debd42db1143034d9687e13f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/proc/
H A Dbase.cdiff 572d34b946bae070debd42db1143034d9687e13f Tue Jan 31 10:14:54 CST 2012 Oleg Nesterov <oleg@redhat.com> 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 <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>