aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlnx/qlnxe/bcm_osal.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2017-04-06 13:30:31 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2017-04-06 13:30:31 +0000
commitc9dd0b48c9f79fbf4f804cef51cbdbd996561d51 (patch)
tree6bcb522d1585d01c1bf8c8360cede7c870285245 /sys/dev/qlnx/qlnxe/bcm_osal.h
parentf6245ac3f7cce7d3af33f9f2a6096f2b64943fc3 (diff)
downloadsrc-c9dd0b48c9f79fbf4f804cef51cbdbd996561d51.tar.gz
src-c9dd0b48c9f79fbf4f804cef51cbdbd996561d51.zip
Cleanup the bitmap_xxx() functions in the LinuxKPI:
- Move all bitmap related functions from bitops.h to bitmap.h, similar to what Linux does. - Apply some minor code cleanup and simplifications to optimize the generated code when using static inline functions. - Implement the following list of bitmap functions which are needed by drm-next and ibcore: - bitmap_find_next_zero_area_off() - bitmap_find_next_zero_area() - bitmap_or() - bitmap_and() - bitmap_xor() - Add missing include directives to the qlnxe driver (davidcs@ has been notified) MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=316568
Diffstat (limited to 'sys/dev/qlnx/qlnxe/bcm_osal.h')
-rw-r--r--sys/dev/qlnx/qlnxe/bcm_osal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/qlnx/qlnxe/bcm_osal.h b/sys/dev/qlnx/qlnxe/bcm_osal.h
index 8a4ea48b68b2..cef228d7388b 100644
--- a/sys/dev/qlnx/qlnxe/bcm_osal.h
+++ b/sys/dev/qlnx/qlnxe/bcm_osal.h
@@ -35,7 +35,7 @@
#include <sys/bitstring.h>
#if __FreeBSD_version >= 1100090
-#include <compat/linuxkpi/common/include/linux/bitops.h>
+#include <linux/bitmap.h>
#else
#include <ofed/include/linux/bitops.h>
#endif