]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/compat.h
teach SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE to handle __bitwise arguments
[mirror_ubuntu-bionic-kernel.git] / include / linux / compat.h
index 5a6a109b4a508b544882e358def3d11820bce250..e5d3fbe24f7dde4138f3dc1ef514c4f5c32ed99e 100644 (file)
@@ -27,7 +27,7 @@
 #endif
 
 #ifndef __SC_DELOUSE
-#define __SC_DELOUSE(t,v) ((t)(unsigned long)(v))
+#define __SC_DELOUSE(t,v) ((__force t)(unsigned long)(v))
 #endif
 
 #define COMPAT_SYSCALL_DEFINE0(name) \