arm64: move DBG_MDSCR_* to asm/debug-monitors.h
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / kernel / debug-monitors.c
index a7fb874b595edc0c095430792de9c8883590855f..e022f877ad0ec4f087c9f845895c4b76a04846cb 100644 (file)
 #include <asm/cputype.h>
 #include <asm/system_misc.h>
 
-/* Low-level stepping controls. */
-#define DBG_MDSCR_SS           (1 << 0)
-#define DBG_SPSR_SS            (1 << 21)
-
-/* MDSCR_EL1 enabling bits */
-#define DBG_MDSCR_KDE          (1 << 13)
-#define DBG_MDSCR_MDE          (1 << 15)
-#define DBG_MDSCR_MASK         ~(DBG_MDSCR_KDE | DBG_MDSCR_MDE)
-
 /* Determine debug architecture. */
 u8 debug_monitors_arch(void)
 {