aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/src/linux_idr.c
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/compat/linuxkpi/common/src/linux_idr.c
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/compat/linuxkpi/common/src/linux_idr.c')
-rw-r--r--sys/compat/linuxkpi/common/src/linux_idr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_idr.c b/sys/compat/linuxkpi/common/src/linux_idr.c
index 99e45e3dcd3d..dcd21a62ce62 100644
--- a/sys/compat/linuxkpi/common/src/linux_idr.c
+++ b/sys/compat/linuxkpi/common/src/linux_idr.c
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
#include <machine/stdarg.h>
-#include <linux/bitops.h>
+#include <linux/bitmap.h>
#include <linux/kobject.h>
#include <linux/slab.h>
#include <linux/idr.h>