Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / include / linux / mmu_context.h
blobd9a543a9e1ccec60ea7ab8ce283e0f2bd9503566
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_MMU_CONTEXT_H
3 #define _LINUX_MMU_CONTEXT_H
5 #include <asm/mmu_context.h>
7 struct mm_struct;
9 void use_mm(struct mm_struct *mm);
10 void unuse_mm(struct mm_struct *mm);
12 /* Architectures that care about IRQ state in switch_mm can override this. */
13 #ifndef switch_mm_irqs_off
14 # define switch_mm_irqs_off switch_mm
15 #endif
17 #endif