Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e7934bb authored by Ruchi Kandoi's avatar Ruchi Kandoi
Browse files

Revert "arm64: ptrace: add is_wide_instruction() macro"

This reverts commit 6fdf4dcc.
parent 6e81856c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -191,13 +191,5 @@ extern unsigned long profile_pc(struct pt_regs *regs);
#define profile_pc(regs) instruction_pointer(regs)
#endif

/*
 * True if instr is a 32-bit thumb instruction. This works if instr
 * is the first or only half-word of a thumb instruction. It also works
 * when instr holds all 32-bits of a wide thumb instruction if stored
 * in the form (first_half<<16)|(second_half)
 */
#define is_wide_instruction(instr)	((unsigned)(instr) >= 0xe800)

#endif /* __ASSEMBLY__ */
#endif