powerpc/watchpoint: Introduce macros for watchpoint length

We are hadrcoding length everywhere in the watchpoint code. Introduce
macros for the length and use them.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191017093204.7511-2-ravi.bangoria@linux.ibm.com
This commit is contained in:
Ravi Bangoria 2019-10-17 15:01:58 +05:30 • committed by Michael Ellerman
commit b811be615c
4 changed files with 9 additions and 6 deletions