1*5c01b46bSArnd Bergmann #ifndef __ASM_GENERIC_TLBFLUSH_H 2*5c01b46bSArnd Bergmann #define __ASM_GENERIC_TLBFLUSH_H 3*5c01b46bSArnd Bergmann /* 4*5c01b46bSArnd Bergmann * This is a dummy tlbflush implementation that can be used on all 5*5c01b46bSArnd Bergmann * nommu architectures. 6*5c01b46bSArnd Bergmann * If you have an MMU, you need to write your own functions. 7*5c01b46bSArnd Bergmann */ 8*5c01b46bSArnd Bergmann #ifdef CONFIG_MMU 9*5c01b46bSArnd Bergmann #error need to implement an architecture specific asm/tlbflush.h 10*5c01b46bSArnd Bergmann #endif 11*5c01b46bSArnd Bergmann 12*5c01b46bSArnd Bergmann static inline void flush_tlb_mm(struct mm_struct *mm) 13*5c01b46bSArnd Bergmann { 14*5c01b46bSArnd Bergmann BUG(); 15*5c01b46bSArnd Bergmann } 16*5c01b46bSArnd Bergmann 17*5c01b46bSArnd Bergmann 18*5c01b46bSArnd Bergmann #endif /* __ASM_GENERIC_TLBFLUSH_H */ 19