]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - drivers/md/raid5.h
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / drivers / md / raid5.h
index 57ec49f0839e53d18281fb7622497d446115dcc0..0739604990b7d485df0ed857210397db04c916a8 100644 (file)
@@ -504,6 +504,7 @@ struct r5conf {
        int                     recovery_disabled;
        /* per cpu variables */
        struct raid5_percpu {
+               spinlock_t      lock;           /* Protection for -RT */
                struct page     *spare_page; /* Used when checking P/Q in raid6 */
                struct flex_array *scribble;   /* space for constructing buffer
                                              * lists and performing address