/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __CRIS_MMU_CONTEXT_H #define __CRIS_MMU_CONTEXT_H #include <asm-generic/mm_hooks.h> extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm); extern void get_mmu_context(struct mm_struct *mm); extern void destroy_context(struct mm_struct *mm); extern void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk); #define deactivate_mm(tsk,mm) do { } while (0)
static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) { unsigned long flags; local_irq_save(flags); switch_mm(prev, next, NULL); local_irq_restore(flags); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Rabin Vincent | 34 | 85.00% | 1 | 50.00% |
Linus Torvalds | 6 | 15.00% | 1 | 50.00% |
Total | 40 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 96 | 67.61% | 3 | 42.86% |
Rabin Vincent | 34 | 23.94% | 1 | 14.29% |
Jesper Nilsson | 8 | 5.63% | 1 | 14.29% |
Jeremy Fitzhardinge | 3 | 2.11% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 0.70% | 1 | 14.29% |
Total | 142 | 100.00% | 7 | 100.00% |