Commit 33e5b54928ee1e4b1bcc35a46ff44d42cb4fbe8a

Jeff Garzik 2011-03-17T23:19:43

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/miner.h b/miner.h
index 6556f2a..0a758c1 100644
--- a/miner.h
+++ b/miner.h
@@ -114,6 +114,7 @@ struct thread_q;
 
 struct work_restart {
 	volatile unsigned long	restart;
+	char			padding[128 - sizeof(unsigned long)];
 };
 
 extern struct work_restart *work_restart;