From: Jan Beulich Date: Mon, 10 Mar 2008 13:11:17 +0000 (+0000) Subject: x86: prevent unconditional writes to DebugCtl MSR X-Git-Tag: v2.6.26-rc1~1154^2~418 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0e508415a83989fe704b4718a1a214bc333ca7;p=pandora-kernel.git x86: prevent unconditional writes to DebugCtl MSR Otherwise, enabling (or better, subsequent disabling) of single stepping would cause a kernel oops on CPUs not having this MSR. The patch could have been added a conditional to the MSR write in user_disable_single_step(), but centralizing the updates seems safer and (looking forward) better manageable. Signed-off-by: Jan Beulich Cc: Markus Metzger Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed