From: Dietmar Eggemann Date: Wed, 26 Sep 2012 16:28:47 +0000 (+0100) Subject: ARM: hw_breakpoint: use CRn as argument for debug reg accessor macros X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e962f76602dbd293a57030f4ce5a4b57853e2ea;p=pandora-kernel.git ARM: hw_breakpoint: use CRn as argument for debug reg accessor macros The coprocessor register CRn for accesses to the debug register can be a different one than C0. Take this into account for the ARM_DBG_READ and the ARM_DBG_WRITE macro. The inline assembler calls which used a coprocessor register CRn other than C0 are replaced by the ARM_DBG_READ or ARM_DBG_WRITE macro. Tested-by: Stephen Boyd Signed-off-by: Dietmar Eggemann Signed-off-by: Will Deacon --- Reading git-diff-tree failed