diff options
author | 2017-07-08 11:40:39 -0400 | |
---|---|---|
committer | 2017-08-31 17:32:37 -0400 | |
commit | 4f59c718521a0f00b6589da6b8fcea2dc296026d (patch) | |
tree | f1358931362a8434ed4e1df2d72585f85e77f210 /include/linux/compat.h | |
parent | Linux 4.13-rc7 (diff) | |
download | wireguard-linux-4f59c718521a0f00b6589da6b8fcea2dc296026d.tar.xz wireguard-linux-4f59c718521a0f00b6589da6b8fcea2dc296026d.zip |
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.h | 2 |
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) \ |