On Fri, Jul 06, 2018 at 10:42:43PM -0700, Deepa Dinamani wrote:
riscv does not enable CONFIG_COMPAT in default configurations: defconfig, allmodconfig and allnoconfig. Remove the asm/compat.h as it does not seem to add any value to the architecture without CONFIG_COMPAT.
Reviewed-by: Christoph Hellwig firstname.lastname@example.org
Now that time compat syscalls are being reused in non CONFIG_COMPAT modes, asm-generic/compat.h provides definitions for riscv 32 bit mode.
Alternative would be to make compat_time.h to be conditional on CONFIG_COMPAT_32BIT_TIME. But, since riscv does not does not need asm/compat.h, delete it instead.
Except that all this isn't relavant for this patch (and a horribly bad idea, but Í'll reply to it separately).