[1/7] libpdbg: Remove unused definitions
diff mbox series

Message ID 20190912013722.21341-2-amitay@ozlabs.org
State New
Headers show
Series
  • Cleanup patches
Related show

Checks

Context Check Description
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (e005e0863a44f04c931b09804f258fb1c0b6f14c)

Commit Message

Amitay Isaacs Sept. 12, 2019, 1:37 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/operations.h | 16 ----------------
 1 file changed, 16 deletions(-)

Patch
diff mbox series

diff --git a/libpdbg/operations.h b/libpdbg/operations.h
index 867f997..5b8da8d 100644
--- a/libpdbg/operations.h
+++ b/libpdbg/operations.h
@@ -38,22 +38,6 @@ 
 
 #define FSI2PIB_BASE	0x1000
 
-/* Functions to ram instructions */
-#define THREAD_STATUS_DISABLED  PPC_BIT(0)
-#define THREAD_STATUS_ACTIVE	PPC_BIT(63)
-#define THREAD_STATUS_STATE	PPC_BITMASK(61, 62)
-#define THREAD_STATUS_DOZE	PPC_BIT(62)
-#define THREAD_STATUS_NAP	PPC_BIT(61)
-#define THREAD_STATUS_SLEEP	PPC_BITMASK(61, 62)
-#define THREAD_STATUS_QUIESCE	PPC_BIT(60)
-#define THREAD_STATUS_SMT	PPC_BITMASK(57, 59)
-#define THREAD_STATUS_SMT_1	PPC_BIT(59)
-#define THREAD_STATUS_SMT_2SH	PPC_BIT(58)
-#define THREAD_STATUS_SMT_2SP	(PPC_BIT(58) | PPC_BIT(59))
-#define THREAD_STATUS_SMT_4	PPC_BIT(57)
-#define THREAD_STATUS_SMT_8	(PPC_BIT(57) | PPC_BIT(59))
-
-
 /* Opcodes for instruction ramming */
 #define OPCODE_MASK  0xfc0003ffUL
 #define MTNIA_OPCODE 0x00000002UL