]> git.proxmox.com Git - pve-kernel-2.6.32.git/blob - hpsa-config-fix.patch
update to vzkernel-2.6.32-042stab120.6.src.rpm
[pve-kernel-2.6.32.git] / hpsa-config-fix.patch
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 */
11 /* Default is kernel.org */
12
13 @@ -145,7 +146,7 @@
14
15 #if defined(RHEL6)/************ RHEL 6 ************/
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
19 #define KFEATURE_CHANGE_QDEPTH_HAS_REASON 1
20 #define KFEATURE_CHANGE_QUEUE_TYPE 1
21 #define KFEATURE_HAS_2011_03_QUEUECOMMAND 0
22 @@ -757,7 +758,7 @@
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