diff options
Diffstat (limited to 'pk/pk.h')
-rw-r--r-- | pk/pk.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,7 +3,11 @@ #ifndef _PK_H #define _PK_H -#define MAX_HARTS 32 // coupled to width of booted_harts_mask +#ifdef __riscv_atomic +# define MAX_HARTS 32 // coupled to width of booted_harts_mask +#else +# define MAX_HARTS 1 +#endif #ifndef __ASSEMBLER__ |