aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index e52f64cbef04..973706e97e77 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -395,7 +395,7 @@ module_param(debug, bool, 0644);
395 395
396struct entropy_store; 396struct entropy_store;
397struct entropy_store { 397struct entropy_store {
398 /* mostly-read data: */ 398 /* read-only data: */
399 struct poolinfo *poolinfo; 399 struct poolinfo *poolinfo;
400 __u32 *pool; 400 __u32 *pool;
401 const char *name; 401 const char *name;
@@ -403,7 +403,7 @@ struct entropy_store {
403 struct entropy_store *pull; 403 struct entropy_store *pull;
404 404
405 /* read-write data: */ 405 /* read-write data: */
406 spinlock_t lock ____cacheline_aligned_in_smp; 406 spinlock_t lock;
407 unsigned add_ptr; 407 unsigned add_ptr;
408 int entropy_count; 408 int entropy_count;
409 int input_rotate; 409 int input_rotate;