From: Oleg Nesterov Date: Sun, 23 Sep 2012 19:10:18 +0000 (+0200) Subject: uprobes: Introduce copy_opcode(), kill read_opcode() X-Git-Tag: v3.7-rc3~40^2~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cceb55aab73d2aea8f4d6f7414d2e1b647a3dacb;p=pandora-kernel.git uprobes: Introduce copy_opcode(), kill read_opcode() No functional changes, preparations. 1. Extract the kmap-and-memcpy code from read_opcode() into the new trivial helper, copy_opcode(). The next patch will add another user. 2. read_opcode() becomes really trivial, fold it into its single caller, is_swbp_at_addr(). 3. Remove "auprobe" argument from write_opcode(), it is not used since f403072c6. Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed