From: Martin Schwidefsky Date: Wed, 5 Jan 2011 11:47:17 +0000 (+0100) Subject: [S390] kprobes: single step cleanup X-Git-Tag: v2.6.38-rc1~461^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0a1fea6b81095b6c0e01ec3407d04c8341974c;p=pandora-kernel.git [S390] kprobes: single step cleanup The saved interrupt mask and the saved control registers are only relevant while single stepping is set up. A secondary kprobe while kprobe single stepping is active may not occur. That makes is safe to remove the save and restore of kprobe_saved_imask / kprobe_save_ctl from save_previous_kprobe and restore_previous_kprobe. Move all single step related code to two functions, enable_singlestep and disable_singlestep. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed