Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
drbd
kernel-4.5-compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kernel-4.5-compat.patch of Package drbd
diff -Naur drbd-9.0.1+git.86e4439.orig/drbd/drbd-kernel-compat/drbd_wrappers.h drbd-9.0.1+git.86e4439/drbd/drbd-kernel-compat/drbd_wrappers.h --- drbd-9.0.1+git.86e4439.orig/drbd/drbd-kernel-compat/drbd_wrappers.h 2016-04-08 21:56:02.872683041 +0800 +++ drbd-9.0.1+git.86e4439/drbd/drbd-kernel-compat/drbd_wrappers.h 2016-04-08 22:03:05.732665258 +0800 @@ -1529,31 +1529,6 @@ } #endif -#ifndef COMPAT_HAVE_IB_CQ_INIT_ATTR -#include <rdma/ib_verbs.h> - -struct ib_cq_init_attr { - unsigned int cqe; - int comp_vector; - u32 flags; -}; - -static inline struct ib_cq * -drbd_ib_create_cq(struct ib_device *device, - ib_comp_handler comp_handler, - void (*event_handler)(struct ib_event *, void *), - void *cq_context, - const struct ib_cq_init_attr *cq_attr) -{ - return ib_create_cq(device, comp_handler, event_handler, cq_context, - cq_attr->cqe, cq_attr->comp_vector); -} - -#define ib_create_cq(DEV, COMP_H, EVENT_H, CTX, ATTR) \ - drbd_ib_create_cq(DEV, COMP_H, EVENT_H, CTX, ATTR) -#endif - - #ifndef COMPAT_RDMA_CREATE_ID_HAS_NET_NS /* Since linux v4.4 it has a network namespace as first argument */ #define rdma_create_id(NS, H, C, P, T) rdma_create_id(H, C, P, T)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor