]> Git Repo - linux.git/commitdiff
ARM: highmem: Fix cache_is_vivt() reference
authorArnd Bergmann <[email protected]>
Fri, 4 Dec 2020 16:59:22 +0000 (17:59 +0100)
committerThomas Gleixner <[email protected]>
Fri, 4 Dec 2020 22:35:34 +0000 (23:35 +0100)
The reference to cache_is_vivt() was moved into a header file,
which now causes a build failure in rare randconfig builds:

arch/arm/include/asm/highmem.h:52:43: error: implicit declaration of function 'cache_is_vivt' [-Werror,-Wimplicit-function-declaration]

Add an explicit include to make it build reliably.

Fixes: 2a15ba82fa6c ("ARM: highmem: Switch to generic kmap atomic")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Russell King <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ira Weiny <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
arch/arm/include/asm/highmem.h

index a41de523d0531be412e2876e119e03039d5eb669..b4b66220952d8d54d1b96508bc72230f794c4120 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef _ASM_HIGHMEM_H
 #define _ASM_HIGHMEM_H
 
+#include <asm/cachetype.h>
 #include <asm/fixmap.h>
 
 #define PKMAP_BASE             (PAGE_OFFSET - PMD_SIZE)
This page took 0.059882 seconds and 4 git commands to generate.