drm/rockchip: vop2: Fix the windows switch between different layers
[drm/drm-misc.git] / arch / sparc / include / asm / cachetlb_32.h
blob534da70c635779e0e11e569bbd2f71d7d9f9392b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _SPARC_CACHETLB_H
3 #define _SPARC_CACHETLB_H
5 struct mm_struct;
6 struct vm_area_struct;
8 struct sparc32_cachetlb_ops {
9 void (*cache_all)(void);
10 void (*cache_mm)(struct mm_struct *);
11 void (*cache_range)(struct vm_area_struct *, unsigned long,
12 unsigned long);
13 void (*cache_page)(struct vm_area_struct *, unsigned long);
15 void (*tlb_all)(void);
16 void (*tlb_mm)(struct mm_struct *);
17 void (*tlb_range)(struct vm_area_struct *, unsigned long,
18 unsigned long);
19 void (*tlb_page)(struct vm_area_struct *, unsigned long);
21 void (*page_to_ram)(unsigned long);
22 void (*sig_insns)(struct mm_struct *, unsigned long);
23 void (*page_for_dma)(unsigned long);
25 extern const struct sparc32_cachetlb_ops *sparc32_cachetlb_ops;
26 #ifdef CONFIG_SMP
27 extern const struct sparc32_cachetlb_ops *local_ops;
28 #endif
30 #endif /* SPARC_CACHETLB_H */