X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc64%2Fppcdebug.h;h=fd7f696065c4a280e9d4e0f468b24c5c431277ff;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=862ae6df6b0b65148ec1660bb8f5eb92e4ab821c;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-ppc64/ppcdebug.h b/include/asm-ppc64/ppcdebug.h index 862ae6df6..fd7f69606 100644 --- a/include/asm-ppc64/ppcdebug.h +++ b/include/asm-ppc64/ppcdebug.h @@ -16,13 +16,14 @@ ********************************************************************/ #include +#include #include #include #define PPCDBG_BITVAL(X) ((1UL)<<((unsigned long)(X))) /* Defined below are the bit positions of various debug flags in the - * debug_switch variable (defined in naca.h). + * ppc64_debug_switch variable. * -- When adding new values, please enter them into trace names below -- * * Values 62 & 63 can be used to stress the hardware page table management @@ -64,6 +65,8 @@ #define PPCDBG_NUM_FLAGS 64 +extern u64 ppc64_debug_switch; + #ifdef WANT_PPCDBG_TAB /* A table of debug switch names to allow name lookup in xmon * (and whoever else wants it.