Re: [Y2038] [PATCH v3 3/7] riscv: Delete asm/compat.h

2018-08-05 Thread Arnd Bergmann
On Fri, Aug 3, 2018 at 9:39 AM, Christoph Hellwig wrote: > On Thu, Aug 02, 2018 at 06:26:58PM -0700, Palmer Dabbelt wrote: >> I thought we were using this to make uname print "riscv64" (or "riscv32") >> instead of just "riscv"? Is there another mechanism to do that? > > That is set in the UTS_MAC

Re: [Y2038] [PATCH v3 3/7] riscv: Delete asm/compat.h

2018-08-03 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 06:26:58PM -0700, Palmer Dabbelt wrote: > I thought we were using this to make uname print "riscv64" (or "riscv32") > instead of just "riscv"? Is there another mechanism to do that? That is set in the UTS_MACHINE variable in arch/riscv/Makefile and doesn't involve compat.h

Re: [Y2038] [PATCH v3 3/7] riscv: Delete asm/compat.h

2018-08-02 Thread Palmer Dabbelt
On Fri, 06 Jul 2018 22:42:43 PDT (-0700), deepa.ker...@gmail.com 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. Now that time co

Re: [Y2038] [PATCH v3 3/7] riscv: Delete asm/compat.h

2018-07-12 Thread Christoph Hellwig
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. Looks good, Revie

[Y2038] [PATCH v3 3/7] riscv: Delete asm/compat.h

2018-07-06 Thread Deepa Dinamani
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. Now that time compat syscalls are being reused in non CONFIG_COMPAT modes, asm-generic/com