diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/glue-cache.h | 22 | ||||
-rw-r--r-- | arch/arm/kernel/unwind.c | 2 |
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__ |
133 | extern inline void nop_flush_icache_all(void) { } | 133 | static inline void nop_flush_icache_all(void) { } |
134 | extern inline void nop_flush_kern_cache_all(void) { } | 134 | static inline void nop_flush_kern_cache_all(void) { } |
135 | extern inline void nop_flush_kern_cache_louis(void) { } | 135 | static inline void nop_flush_kern_cache_louis(void) { } |
136 | extern inline void nop_flush_user_cache_all(void) { } | 136 | static inline void nop_flush_user_cache_all(void) { } |
137 | extern inline void nop_flush_user_cache_range(unsigned long a, | 137 | static 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 | ||
140 | extern inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } | 140 | static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { } |
141 | extern inline int nop_coherent_user_range(unsigned long a, | 141 | static inline int nop_coherent_user_range(unsigned long a, |
142 | unsigned long b) { return 0; } | 142 | unsigned long b) { return 0; } |
143 | extern inline void nop_flush_kern_dcache_area(void *a, size_t s) { } | 143 | static inline void nop_flush_kern_dcache_area(void *a, size_t s) { } |
144 | 144 | ||
145 | extern inline void nop_dma_flush_range(const void *a, const void *b) { } | 145 | static inline void nop_dma_flush_range(const void *a, const void *b) { } |
146 | 146 | ||
147 | extern inline void nop_dma_map_area(const void *s, size_t l, int f) { } | 147 | static inline void nop_dma_map_area(const void *s, size_t l, int f) { } |
148 | extern inline void nop_dma_unmap_area(const void *s, size_t l, int f) { } | 148 | static 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 |