Skip to content

Commit

Permalink
core/arm64: shrink struct thread_core_local
Browse files Browse the repository at this point in the history
  • Loading branch information
jenswi-linaro committed Dec 11, 2015
1 parent d5fbead commit bc1ac4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/arch/arm/kernel/thread_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct thread_core_local {
#ifdef ARM64
uint32_t flags;
vaddr_t abt_stack_va_end;
uint64_t x[8];
uint64_t x[4];
#endif
} THREAD_CORE_LOCAL_ALIGNED;

Expand Down Expand Up @@ -158,7 +158,7 @@ struct thread_core_local {
#define THREAD_CORE_LOCAL_FLAGS_OFFSET (8 * 1 + 4)
#define THREAD_CORE_LOCAL_ABT_STACK_VA_END_OFFSET (8 * 2)
#define THREAD_CORE_LOCAL_X_OFFSET(x) (8 * (3 + (x)))
#define THREAD_CORE_LOCAL_SIZE THREAD_CORE_LOCAL_X_OFFSET(9)
#define THREAD_CORE_LOCAL_SIZE THREAD_CORE_LOCAL_X_OFFSET(5)

/* Describes the flags field of struct thread_core_local */
#define THREAD_CLF_SAVED_SHIFT 4
Expand Down

0 comments on commit bc1ac4a

Please sign in to comment.