diff options
| author | H. Peter Anvin <hpa@linux.intel.com> | 2012-01-19 15:56:50 -0500 |
|---|---|---|
| committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-01-19 15:56:50 -0500 |
| commit | 282f445a779ed76fca9884fe377bf56a3088b208 (patch) | |
| tree | d9abcf526baee0100672851e0a8894c19e762a39 /include/linux/raid | |
| parent | 68f30fbee19cc67849b9fa8e153ede70758afe81 (diff) | |
| parent | 90a4c0f51e8e44111a926be6f4c87af3938a79c3 (diff) | |
Merge remote-tracking branch 'linus/master' into x86/urgent
Diffstat (limited to 'include/linux/raid')
| -rw-r--r-- | include/linux/raid/md_p.h | 7 | ||||
| -rw-r--r-- | include/linux/raid/pq.h | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/raid/md_p.h b/include/linux/raid/md_p.h index 9e65d9e20662..6f6df86f1ae5 100644 --- a/include/linux/raid/md_p.h +++ b/include/linux/raid/md_p.h | |||
| @@ -277,7 +277,10 @@ struct mdp_superblock_1 { | |||
| 277 | */ | 277 | */ |
| 278 | #define MD_FEATURE_RESHAPE_ACTIVE 4 | 278 | #define MD_FEATURE_RESHAPE_ACTIVE 4 |
| 279 | #define MD_FEATURE_BAD_BLOCKS 8 /* badblock list is not empty */ | 279 | #define MD_FEATURE_BAD_BLOCKS 8 /* badblock list is not empty */ |
| 280 | 280 | #define MD_FEATURE_REPLACEMENT 16 /* This device is replacing an | |
| 281 | #define MD_FEATURE_ALL (1|2|4|8) | 281 | * active device with same 'role'. |
| 282 | * 'recovery_offset' is also set. | ||
| 283 | */ | ||
| 284 | #define MD_FEATURE_ALL (1|2|4|8|16) | ||
| 282 | 285 | ||
| 283 | #endif | 286 | #endif |
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index 2b59cc824395..53272e9860a7 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h | |||
| @@ -132,7 +132,7 @@ void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, | |||
| 132 | PROT_READ|PROT_WRITE, \ | 132 | PROT_READ|PROT_WRITE, \ |
| 133 | MAP_PRIVATE|MAP_ANONYMOUS,\ | 133 | MAP_PRIVATE|MAP_ANONYMOUS,\ |
| 134 | 0, 0)) | 134 | 0, 0)) |
| 135 | # define free_pages(x, y) munmap((void *)(x), (y)*PAGE_SIZE) | 135 | # define free_pages(x, y) munmap((void *)(x), PAGE_SIZE << (y)) |
| 136 | 136 | ||
| 137 | static inline void cpu_relax(void) | 137 | static inline void cpu_relax(void) |
| 138 | { | 138 | { |
