Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_GENERIC_TLBFLUSH_H
0003 #define __ASM_GENERIC_TLBFLUSH_H
0004 /*
0005  * This is a dummy tlbflush implementation that can be used on all
0006  * nommu architectures.
0007  * If you have an MMU, you need to write your own functions.
0008  */
0009 #ifdef CONFIG_MMU
0010 #error need to implement an architecture specific asm/tlbflush.h
0011 #endif
0012 
0013 #include <linux/bug.h>
0014 
0015 static inline void flush_tlb_mm(struct mm_struct *mm)
0016 {
0017     BUG();
0018 }
0019 
0020 
0021 #endif /* __ASM_GENERIC_TLBFLUSH_H */