]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] move celleb DABRX definitions
authorJens Osterkamp <jens@de.ibm.com>
Thu, 28 Feb 2008 10:26:21 +0000 (11:26 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 3 Mar 2008 07:03:14 +0000 (08:03 +0100)
This moves the private DABRX definitions for celleb from beat.h to
reg.h to make them usable for all.

Signed-off-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/powerpc/platforms/celleb/beat.h
include/asm-powerpc/reg.h

index b2e292df13ca25792b283bc7655bce2c9486e72f..ac82ac35b9918a98bff6ec5d4fcc8918e5796689 100644 (file)
@@ -21,9 +21,6 @@
 #ifndef _CELLEB_BEAT_H
 #define _CELLEB_BEAT_H
 
-#define DABRX_KERNEL           (1UL<<1)
-#define DABRX_USER             (1UL<<0)
-
 int64_t beat_get_term_char(uint64_t,uint64_t*,uint64_t*,uint64_t*);
 int64_t beat_put_term_char(uint64_t,uint64_t,uint64_t,uint64_t);
 int64_t beat_repository_encode(int, const char *, uint64_t[4]);
index 0d6238987df864f9b7f2d4f1cff8a6b7fade4fda..edc0cfd7f6e28b205d8b17df52000be78bbe1aa2 100644 (file)
 #define   CTRL_RUNLATCH        0x1
 #define SPRN_DABR      0x3F5   /* Data Address Breakpoint Register */
 #define   DABR_TRANSLATION     (1UL << 2)
+#define SPRN_DABRX     0x3F7   /* Data Address Breakpoint Register Extension */
+#define   DABRX_USER   (1UL << 0)
+#define   DABRX_KERNEL (1UL << 1)
 #define SPRN_DAR       0x013   /* Data Address Register */
 #define SPRN_DSISR     0x012   /* Data Storage Interrupt Status Register */
 #define   DSISR_NOHPTE         0x40000000      /* no translation found */