miner.h: pad out work_restart to max likely cache line size

This commit is contained in:
Jeff Garzik 2011-03-17 23:19:43 -04:00 committed by Jeff Garzik
parent 2d49a9a5d7
commit 33e5b54928

View file

@ -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;