riscv: Delete asm/compat.h
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 7 Jul 2018 05:42:43 +0000 (22:42 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 20 Aug 2018 18:25:35 +0000 (11:25 -0700)
commit66eb957df4c7f60afb2bf19873f12214a2b3b62b
tree805d0449f4385c0d396dae9f4c1b6fc30ee9998f
parent1009aa1205c2c5e9101437dcadfa195708d863bf
riscv: Delete asm/compat.h

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/compat.h provides definitions for riscv 32 bit
mode.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: palmer@sifive.com
Cc: linux-riscv@lists.infradead.org
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/Kbuild
arch/riscv/include/asm/compat.h [deleted file]