Browse Source

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

Jeff Garzik 15 years ago
parent
commit
33e5b54928
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.h

+ 1 - 0
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;