|
@@ -1281,7 +1281,7 @@ static void show_instructions(struct pt_regs *regs)
|
|
|
#endif
|
|
|
|
|
|
if (!__kernel_text_address(pc) ||
|
|
|
- probe_kernel_address((unsigned int __user *)pc, instr)) {
|
|
|
+ probe_kernel_address((const void *)pc, instr)) {
|
|
|
pr_cont("XXXXXXXX ");
|
|
|
} else {
|
|
|
if (regs->nip == pc)
|
|
@@ -1323,7 +1323,7 @@ void show_user_instructions(struct pt_regs *regs)
|
|
|
pr_info("%s[%d]: code: ", current->comm, current->pid);
|
|
|
}
|
|
|
|
|
|
- if (probe_kernel_address((unsigned int __user *)pc, instr)) {
|
|
|
+ if (probe_kernel_address((const void *)pc, instr)) {
|
|
|
pr_cont("XXXXXXXX ");
|
|
|
} else {
|
|
|
if (regs->nip == pc)
|