Skip to content
Commit 0bb7a95f authored by Luca Barbieri's avatar Luca Barbieri Committed by Ingo Molnar
Browse files

hw-breakpoints, perf: Fix broken mmiotrace due to dr6 by reference change

Commit 62edab90

 (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: default avatarLuca Barbieri <luca@luca-barbieri.com>
Acked-by: default avatarK.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: default avatarIngo Molnar <mingo@elte.hu>
parent 8f06d7e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment