Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161359357
D24794.id71606.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
591 B
Referenced Files
None
Subscribers
None
D24794.id71606.diff
View Options
Index: sys/compat/linuxkpi/common/include/linux/bitmap.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/bitmap.h
+++ sys/compat/linuxkpi/common/include/linux/bitmap.h
@@ -30,6 +30,7 @@
#define _LINUX_BITMAP_H_
#include <linux/bitops.h>
+#include <linux/slab.h>
static inline void
bitmap_zero(unsigned long *addr, const unsigned int size)
@@ -309,4 +310,10 @@
dst[i] = src1[i] ^ src2[i];
}
+static inline void
+bitmap_free(const unsigned long *bitmap)
+{
+ kfree(bitmap);
+}
+
#endif /* _LINUX_BITMAP_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 4, 3:35 AM (7 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34649359
Default Alt Text
D24794.id71606.diff (591 B)
Attached To
Mode
D24794: linuxkpi: Add bitmap_alloc and bitmap_free
Attached
Detach File
Event Timeline
Log In to Comment