summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include
diff options
context:
space:
mode:
authorArnd Bergmann2018-03-26 16:59:15 +0200
committerArnd Bergmann2018-04-19 13:28:51 +0200
commit2b5a9a37e97467fea67070a94529d6d07e549270 (patch)
tree4a92b8ee150e5afeb2e25c3b2ab6115b7f2fd9a7 /arch/openrisc/include
parentcompat: Make compat helpers independent of CONFIG_COMPAT (diff)
downloadkernel-qcow2-linux-2b5a9a37e97467fea67070a94529d6d07e549270.tar.gz
kernel-qcow2-linux-2b5a9a37e97467fea67070a94529d6d07e549270.tar.xz
kernel-qcow2-linux-2b5a9a37e97467fea67070a94529d6d07e549270.zip
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>
Diffstat (limited to 'arch/openrisc/include')
-rw-r--r--arch/openrisc/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index f05c722a21f8..65964d390b10 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -2,6 +2,7 @@ generic-y += barrier.h
generic-y += bug.h
generic-y += bugs.h
generic-y += checksum.h
+generic-y += compat.h
generic-y += current.h
generic-y += device.h
generic-y += div64.h