summaryrefslogtreecommitdiff
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-08 18:40:39 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-09-01 00:32:37 +0300
commit4f59c718521a0f00b6589da6b8fcea2dc296026d (patch)
treef1358931362a8434ed4e1df2d72585f85e77f210 /include/linux/compat.h
parentcc4a41fe5541a73019a864883297bd5043aa6d98 (diff)
downloadlinux-4f59c718521a0f00b6589da6b8fcea2dc296026d.tar.xz
teach SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE to handle __bitwise arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 5a6a109b4a50..e5d3fbe24f7d 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -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) \