]> asedeno.scripts.mit.edu Git - linux.git/commit
time: Add an asm-generic/compat.h file
authorArnd Bergmann <arnd@arndb.de>
Mon, 26 Mar 2018 14:59:15 +0000 (16:59 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 19 Apr 2018 11:28:51 +0000 (13:28 +0200)
commit2b5a9a37e97467fea67070a94529d6d07e549270
tree4a92b8ee150e5afeb2e25c3b2ab6115b7f2fd9a7
parent5055c67760df8e13c68f73b8534d5792d1d36543
time: Add an asm-generic/compat.h file

We have a couple of files that try to include asm/compat.h on
architectures where this is available. Those should generally use the
higher-level linux/compat.h file, but that in turn fails to include
asm/compat.h when CONFIG_COMPAT is disabled, unless we can provide
that header on all architectures.

This adds the asm/compat.h for all remaining architectures to
simplify the dependencies.

Architectures that are getting removed in linux-4.17 are not changed
here, to avoid needless conflicts with the removal patches. Those
architectures are broken by this patch, but we have already shown
that they have no users.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 files changed:
arch/alpha/include/asm/Kbuild
arch/arc/include/asm/Kbuild
arch/arm/include/asm/Kbuild
arch/c6x/include/asm/Kbuild
arch/h8300/include/asm/Kbuild
arch/hexagon/include/asm/Kbuild
arch/ia64/include/asm/Kbuild
arch/m68k/include/asm/Kbuild
arch/microblaze/include/asm/Kbuild
arch/nds32/include/asm/Kbuild
arch/nios2/include/asm/Kbuild
arch/openrisc/include/asm/Kbuild
arch/sh/include/asm/Kbuild
arch/um/include/asm/Kbuild
arch/unicore32/include/asm/Kbuild
arch/xtensa/include/asm/Kbuild
include/asm-generic/compat.h [new file with mode: 0644]
include/linux/compat.h