1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * Copyright 2014 IBM Corp. 4 */ 5 6 #ifndef _ASM_POWERPC_COPRO_H 7 #define _ASM_POWERPC_COPRO_H 8 9 #include <linux/mm_types.h> 10 11 struct copro_slb 12 { 13 u64 esid, vsid; 14 }; 15 16 int copro_handle_mm_fault(struct mm_struct *mm 17 unsigned long dsisr, 18 19 int copro_calculate_slb(struct mm_struct *mm, 20 21 22 #ifdef CONFIG_PPC_COPRO_BASE 23 void copro_flush_all_slbs(struct mm_struct *mm 24 #else 25 static inline void copro_flush_all_slbs(struct 26 #endif 27 #endif /* _ASM_POWERPC_COPRO_H */ 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.