xref: /openbmc/linux/include/asm-generic/tlbflush.h (revision 187f1882b5b0748b3c4c22274663fdb372ac0452)
15c01b46bSArnd Bergmann #ifndef __ASM_GENERIC_TLBFLUSH_H
25c01b46bSArnd Bergmann #define __ASM_GENERIC_TLBFLUSH_H
35c01b46bSArnd Bergmann /*
45c01b46bSArnd Bergmann  * This is a dummy tlbflush implementation that can be used on all
55c01b46bSArnd Bergmann  * nommu architectures.
65c01b46bSArnd Bergmann  * If you have an MMU, you need to write your own functions.
75c01b46bSArnd Bergmann  */
85c01b46bSArnd Bergmann #ifdef CONFIG_MMU
95c01b46bSArnd Bergmann #error need to implement an architecture specific asm/tlbflush.h
105c01b46bSArnd Bergmann #endif
115c01b46bSArnd Bergmann 
12*187f1882SPaul Gortmaker #include <linux/bug.h>
13*187f1882SPaul Gortmaker 
145c01b46bSArnd Bergmann static inline void flush_tlb_mm(struct mm_struct *mm)
155c01b46bSArnd Bergmann {
165c01b46bSArnd Bergmann 	BUG();
175c01b46bSArnd Bergmann }
185c01b46bSArnd Bergmann 
195c01b46bSArnd Bergmann 
205c01b46bSArnd Bergmann #endif /* __ASM_GENERIC_TLBFLUSH_H */
21