powerpc: Debug control and status registers are 32bit
authorBharat Bhushan <r65777@freescale.com>
Wed, 22 May 2013 04:20:58 +0000 (09:50 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:04:16 +0000 (17:04 +1000)
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/processor.h

index 7135a257f7cb260865e167e640e31d0a8eef9ad8..2b5a39c67df41ef5d91c0899b86d4bb8230ba7bf 100644 (file)
@@ -168,10 +168,10 @@ struct thread_struct {
         * The following help to manage the use of Debug Control Registers
         * om the BookE platforms.
         */
-       unsigned long   dbcr0;
-       unsigned long   dbcr1;
+       uint32_t        dbcr0;
+       uint32_t        dbcr1;
 #ifdef CONFIG_BOOKE
-       unsigned long   dbcr2;
+       uint32_t        dbcr2;
 #endif
        /*
         * The stored value of the DBSR register will be the value at the
@@ -179,7 +179,7 @@ struct thread_struct {
         * user (will never be written to) and has value while helping to
         * describe the reason for the last debug trap.  Torez
         */
-       unsigned long   dbsr;
+       uint32_t        dbsr;
        /*
         * The following will contain addresses used by debug applications
         * to help trace and trap on particular address locations.