projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be215b
)
s390/syscalls: remove __SC_COMPAT_TYPE define
author
Heiko Carstens
<hca@linux.ibm.com>
Mon, 23 Jan 2023 13:30:43 +0000
(14:30 +0100)
committer
Heiko Carstens
<hca@linux.ibm.com>
Wed, 25 Jan 2023 19:51:11 +0000
(20:51 +0100)
Remove __SC_COMPAT_TYPE define which is an unused leftover.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/syscall_wrapper.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/syscall_wrapper.h
b/arch/s390/include/asm/syscall_wrapper.h
index
762438c
..
de719f1
100644
(file)
--- a/
arch/s390/include/asm/syscall_wrapper.h
+++ b/
arch/s390/include/asm/syscall_wrapper.h
@@
-35,8
+35,6
@@
#define SYSCALL_PT_ARGS(x, ...) SYSCALL_PT_ARG##x(__VA_ARGS__)
#ifdef CONFIG_COMPAT
-#define __SC_COMPAT_TYPE(t, a) \
- __typeof(__builtin_choose_expr(sizeof(t) > 4, 0L, (t)0)) a
#define __SC_COMPAT_CAST(t, a) \
({ \