]>
Commit | Line | Data |
---|---|---|
e770bf36 DM |
1 | --- hpsa-3.4.16/drivers/scsi/hpsa_kernel_compat.h.org 2016-09-21 14:30:54.000000000 +0200 |
2 | +++ hpsa-3.4.16/drivers/scsi/hpsa_kernel_compat.h 2016-09-21 14:40:12.000000000 +0200 | |
3 | @@ -43,7 +43,8 @@ | |
4 | * | |
5 | */ | |
6 | ||
7 | -/* #define RHEL6u5 */ | |
8 | +#define RHEL6U8 | |
9 | + | |
10 | /* #define RHEL7u1 */ | |
ab119548 DM |
11 | /* Default is kernel.org */ |
12 | ||
e770bf36 | 13 | @@ -145,7 +146,7 @@ |
ab119548 | 14 | |
e770bf36 | 15 | #if defined(RHEL6)/************ RHEL 6 ************/ |
ab119548 DM |
16 | #define KFEATURE_HAS_WAIT_FOR_COMPLETION_IO_TIMEOUT 0 |
17 | -#define KFEATURE_HAS_WAIT_FOR_COMPLETION_IO 0 | |
18 | +#define KFEATURE_HAS_WAIT_FOR_COMPLETION_IO 1 | |
ab119548 | 19 | #define KFEATURE_CHANGE_QDEPTH_HAS_REASON 1 |
e770bf36 DM |
20 | #define KFEATURE_CHANGE_QUEUE_TYPE 1 |
21 | #define KFEATURE_HAS_2011_03_QUEUECOMMAND 0 | |
22 | @@ -757,7 +758,7 @@ | |
ab119548 DM |
23 | * the thread that is doing the swapping i/o needs to allocate. |
24 | */ | |
25 | #define WQ_MEM_RECLAIM (0) | |
26 | -#define alloc_workqueue(name, flags, max_active) __create_workqueue(name, flags, max_active, 0) | |
27 | +#define alloc_workqueue(name, flags, max_active) __create_workqueue(name, flags, max_active, 0, NULL) | |
28 | #endif | |
29 | ||
30 | #if !KFEATURE_HAS_ATOMIC_DEC_IF_POSITIVE |