summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/cache.h')
-rw-r--r--include/asm-ppc/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/cache.h b/include/asm-ppc/cache.h
index c45fd8409..e4bcdde00 100644
--- a/include/asm-ppc/cache.h
+++ b/include/asm-ppc/cache.h
@@ -1,6 +1,7 @@
/*
* include/asm-ppc/cache.h
*/
+#ifdef __KERNEL__
#ifndef __ARCH_PPC_CACHE_H
#define __ARCH_PPC_CACHE_H
@@ -83,3 +84,4 @@ extern void flush_dcache_range(unsigned long start, unsigned long stop);
#endif /* CONFIG_8xx */
#endif
+#endif /* __KERNEL__ */