Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a327ffd authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

s390/syscalls: simplify syscall_get_arch()



Given that sizeof(long) is now always 8, we can simplify syscall_get_arch()
a bit.
Just another piece I didn't find when removing 31 bit support.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 57fe1b26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,6 +95,6 @@ static inline int syscall_get_arch(void)
	if (test_tsk_thread_flag(current, TIF_31BIT))
		return AUDIT_ARCH_S390;
#endif
	return sizeof(long) == 8 ? AUDIT_ARCH_S390X : AUDIT_ARCH_S390;
	return AUDIT_ARCH_S390X;
}
#endif	/* _ASM_SYSCALL_H */