]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita617578eda549748f2a755092439ecfd2ca775b4
tree805d0449f4385c0d396dae9f4c1b6fc30ee9998f
parentd7f01f2767a057e50173d00d210766784c47ce6f
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]