aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r--drivers/md/raid5.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h
index 52ba99954de..07a7a4102f0 100644
--- a/drivers/md/raid5.h
+++ b/drivers/md/raid5.h
@@ -383,8 +383,13 @@ struct raid5_private_data {
383 * (fresh device added). 383 * (fresh device added).
384 * Cleared when a sync completes. 384 * Cleared when a sync completes.
385 */ 385 */
386 386 /* per cpu variables */
387 struct page *spare_page; /* Used when checking P/Q in raid6 */ 387 struct raid5_percpu {
388 struct page *spare_page; /* Used when checking P/Q in raid6 */
389 } *percpu;
390#ifdef CONFIG_HOTPLUG_CPU
391 struct notifier_block cpu_notify;
392#endif
388 393
389 /* 394 /*
390 * Free stripes pool 395 * Free stripes pool