RISC-V: Fix usage of static_assert in riscv_percpu.c
There is no alias for struct riscv_percu_s
This commit is contained in:
parent
7db356e720
commit
6c22e2894c
@ -40,7 +40,8 @@
|
||||
|
||||
#define HART_CNT (CONFIG_ARCH_CPU_COUNT)
|
||||
|
||||
static_assert(RISCV_PERCPU_HARTID_OFFSET == offsetof(riscv_percpu_s, hartid),
|
||||
static_assert(RISCV_PERCPU_HARTID_OFFSET ==
|
||||
offsetof(struct riscv_percpu_s, hartid),
|
||||
"RISCV_PERCPU_HARTID_OFFSET with a wrong value");
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user