Skip to content

Commit

Permalink
Fixed formating
Browse files Browse the repository at this point in the history
  • Loading branch information
mariospaok4 committed Feb 11, 2025
1 parent 74c913a commit 12fc200
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/arch/arch_exports.h
Original file line number Diff line number Diff line change
Expand Up @@ -1832,11 +1832,11 @@ typedef struct _rseq_entry_state_t {
#endif

#if (CONTEXT_REBASE_OFFT != 0)
# define CONTEXT_PTR_TO_HEAD(x) ((void *)(((intptr_t)x) - CONTEXT_REBASE_OFFT))
# define CONTEXT_HEAD_TO_PTR(x) ((void *)(((intptr_t)x) + CONTEXT_REBASE_OFFT))
# define CONTEXT_PTR_TO_HEAD(x) ((void *)(((intptr_t)x) - CONTEXT_REBASE_OFFT))
# define CONTEXT_HEAD_TO_PTR(x) ((void *)(((intptr_t)x) + CONTEXT_REBASE_OFFT))
#else
# define CONTEXT_PTR_TO_HEAD(x) x
# define CONTEXT_HEAD_TO_PTR(x) x
# define CONTEXT_PTR_TO_HEAD(x) x
# define CONTEXT_HEAD_TO_PTR(x) x
#endif

#endif /* _ARCH_EXPORTS_H_ */

0 comments on commit 12fc200

Please sign in to comment.