summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/cacheflush.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-07 21:41:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-08 11:05:57 -0700
commit92a73bd29ad0a31cfa9241e86a557252ac77b217 (patch)
tree66daf07980b86f08fac60a2091c0877809d51ab6 /include/asm-generic/cacheflush.h
parent7c95fda549bdd6308dc833e13263227a7238c50d (diff)
downloadlinux-92a73bd29ad0a31cfa9241e86a557252ac77b217.tar.gz
linux-92a73bd29ad0a31cfa9241e86a557252ac77b217.tar.bz2
linux-92a73bd29ad0a31cfa9241e86a557252ac77b217.zip
asm-generic: fix the inclusion guards for cacheflush.h
cacheflush.h uses a somewhat to generic include guard name that clashes with various arch files. Use a more specific one. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Arnd Bergmann <arnd@arndb.de> Link: http://lkml.kernel.org/r/20200515143646.3857579-6-hch@lst.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/cacheflush.h')
-rw-r--r--include/asm-generic/cacheflush.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-generic/cacheflush.h b/include/asm-generic/cacheflush.h
index cac7404b2bdd..906277492ec5 100644
--- a/include/asm-generic/cacheflush.h
+++ b/include/asm-generic/cacheflush.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ASM_CACHEFLUSH_H
-#define __ASM_CACHEFLUSH_H
+#ifndef _ASM_GENERIC_CACHEFLUSH_H
+#define _ASM_GENERIC_CACHEFLUSH_H
/* Keep includes the same across arches. */
#include <linux/mm.h>
@@ -109,4 +109,4 @@ static inline void flush_cache_vunmap(unsigned long start, unsigned long end)
memcpy(dst, src, len)
#endif
-#endif /* __ASM_CACHEFLUSH_H */
+#endif /* _ASM_GENERIC_CACHEFLUSH_H */