2012-08-12 13:26:27 +00:00
|
|
|
#ifndef __ARM_MMU_H
|
|
|
|
#define __ARM_MMU_H
|
|
|
|
|
2013-02-11 17:01:30 +00:00
|
|
|
#ifdef CONFIG_MMU
|
2012-08-12 13:26:27 +00:00
|
|
|
void __mmu_cache_on(void);
|
|
|
|
void __mmu_cache_off(void);
|
|
|
|
void __mmu_cache_flush(void);
|
2013-02-11 17:01:30 +00:00
|
|
|
#else
|
|
|
|
static inline void __mmu_cache_on(void) {}
|
|
|
|
static inline void __mmu_cache_off(void) {}
|
|
|
|
static inline void __mmu_cache_flush(void) {}
|
|
|
|
#endif
|
2012-08-12 13:26:27 +00:00
|
|
|
|
|
|
|
#endif /* __ARM_MMU_H */
|