miner.h: pad out work_restart to max likely cache line size
This commit is contained in:
parent
2d49a9a5d7
commit
33e5b54928
1 changed files with 1 additions and 0 deletions
1
miner.h
1
miner.h
|
@ -114,6 +114,7 @@ struct thread_q;
|
||||||
|
|
||||||
struct work_restart {
|
struct work_restart {
|
||||||
volatile unsigned long restart;
|
volatile unsigned long restart;
|
||||||
|
char padding[128 - sizeof(unsigned long)];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct work_restart *work_restart;
|
extern struct work_restart *work_restart;
|
||||||
|
|
Loading…
Reference in a new issue