]> git.baikalelectronics.ru Git - kernel.git/commit
hw-breakpoints, perf: Fix broken mmiotrace due to dr6 by reference change
authorLuca Barbieri <luca@luca-barbieri.com>
Sat, 16 Jan 2010 09:39:30 +0000 (10:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 17 Jan 2010 07:01:44 +0000 (08:01 +0100)
commit33ecb72b2d1d36049022a6cb3a73e2c06e30e701
tree23c3e35c8300fc07d469a1875daf0be29cc37588
parent438b0a3ee35234f68c746459b49622863ea68a8f
hw-breakpoints, perf: Fix broken mmiotrace due to dr6 by reference change

Commit 79b82f8fe6a6fe88a36e2c3e8369b58fd0e0d7f2 (from June 2009
but merged in 2.6.33) changes notify_die to pass dr6 by
reference.

However, it forgets to fix the check for DR_STEP in kmmio.c,
breaking mmiotrace. It also passes a wrong value to the post
handler.

This simple fix makes mmiotrace work again.

Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
Acked-by: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1263634770-14578-1-git-send-email-luca@luca-barbieri.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/kmmio.c