powerpc/watchpoint: Rename current DAWR macros
Power10 is introducing second DAWR. Use real register names from ISA for current macros: s/SPRN_DAWR/SPRN_DAWR0/ s/SPRN_DAWRX/SPRN_DAWRX0/ Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Link: https://lore.kernel.org/r/20200514111741.97993-2-ravi.bangoria@linux.ibm.com
This commit is contained in:

committed by
Michael Ellerman

parent
3920742b92
commit
09f82b063a
@@ -39,8 +39,8 @@ int set_dawr(struct arch_hw_breakpoint *brk)
|
||||
if (ppc_md.set_dawr)
|
||||
return ppc_md.set_dawr(dawr, dawrx);
|
||||
|
||||
mtspr(SPRN_DAWR, dawr);
|
||||
mtspr(SPRN_DAWRX, dawrx);
|
||||
mtspr(SPRN_DAWR0, dawr);
|
||||
mtspr(SPRN_DAWRX0, dawrx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user