about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel-headers/restore-__bitwise__.patch
blob: 67d2af8fc3bbd55af2ccc78bcedb2b5cea24a71e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://github.com/torvalds/linux/commit/caa28984163cb63ea0be4cb8dbf05defdc7303f9

Fixes openiscsi build.
--- a/include/uapi/linux/types.h
+++ b/include/uapi/linux/types.h
@@ -26,6 +26,9 @@
 #define __bitwise
 #endif
 
+/* The kernel doesn't use this legacy form, but user space does */
+#define __bitwise__ __bitwise
+
 typedef __u16 __bitwise __le16;
 typedef __u16 __bitwise __be16;
 typedef __u32 __bitwise __le32;