aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/glue-cache.h22
-rw-r--r--arch/arm/kernel/unwind.c2
2 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/include/asm/glue-cache.h b/arch/arm/include/asm/glue-cache.h
index c81adc08b3fb..a3c24cd5b7c8 100644
--- a/arch/arm/include/asm/glue-cache.h
+++ b/arch/arm/include/asm/glue-cache.h
@@ -130,22 +130,22 @@
130#endif 130#endif
131 131
132#ifndef __ASSEMBLER__ 132#ifndef __ASSEMBLER__
133extern inline void nop_flush_icache_all(void) { } 133static inline void nop_flush_icache_all(void) { }
134extern inline void nop_flush_kern_cache_all(void) { } 134static inline void nop_flush_kern_cache_all(void) { }
135extern inline void nop_flush_kern_cache_louis(void) { } 135static inline void nop_flush_kern_cache_louis(void) { }
136extern inline void nop_flush_user_cache_all(void) { } 136static inline void nop_flush_user_cache_all(void) { }
137extern inline void nop_flush_user_cache_range(unsigned long a, 137static inline void nop_flush_user_cache_range(unsigned long a,
138 unsigned long b, unsigned int c) { } 138 unsigned long b, unsigned int c) { }
139 139
140extern inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } 140static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { }
141extern inline int nop_coherent_user_range(unsigned long a, 141static inline int nop_coherent_user_range(unsigned long a,
142 unsigned long b) { return 0; } 142 unsigned long b) { return 0; }
143extern inline void nop_flush_kern_dcache_area(void *a, size_t s) { } 143static inline void nop_flush_kern_dcache_area(void *a, size_t s) { }
144 144
145extern inline void nop_dma_flush_range(const void *a, const void *b) { } 145static inline void nop_dma_flush_range(const void *a, const void *b) { }
146 146
147extern inline void nop_dma_map_area(const void *s, size_t l, int f) { } 147static inline void nop_dma_map_area(const void *s, size_t l, int f) { }
148extern inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } 148static inline void nop_dma_unmap_area(const void *s, size_t l, int f) { }
149#endif 149#endif
150 150
151#ifndef MULTI_CACHE 151#ifndef MULTI_CACHE
diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c
index cb791ac6a003..e67682f02cb2 100644
--- a/arch/arm/kernel/unwind.c
+++ b/arch/arm/kernel/unwind.c
@@ -31,7 +31,7 @@
31#warning Your compiler does not have EABI support. 31#warning Your compiler does not have EABI support.
32#warning ARM unwind is known to compile only with EABI compilers. 32#warning ARM unwind is known to compile only with EABI compilers.
33#warning Change compiler or disable ARM_UNWIND option. 33#warning Change compiler or disable ARM_UNWIND option.
34#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 2) 34#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 2) && !defined(__clang__)
35#warning Your compiler is too buggy; it is known to not compile ARM unwind support. 35#warning Your compiler is too buggy; it is known to not compile ARM unwind support.
36#warning Change compiler or disable ARM_UNWIND option. 36#warning Change compiler or disable ARM_UNWIND option.
37#endif 37#endif