Skip to content

Commit

Permalink
riscv: Delete asm/compat.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Deepa Dinamani <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
deepa-hub authored and palmer-dabbelt committed Aug 20, 2018
1 parent 1009aa1 commit 66eb957
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
1 change: 1 addition & 0 deletions arch/riscv/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
generic-y += bugs.h
generic-y += cacheflush.h
generic-y += checksum.h
generic-y += compat.h
generic-y += cputime.h
generic-y += device.h
generic-y += div64.h
Expand Down
29 changes: 0 additions & 29 deletions arch/riscv/include/asm/compat.h

This file was deleted.

0 comments on commit 66eb957

Please sign in to comment.