https://github.com/torvalds/linux
Raw File
Tip revision: b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d authored by Linus Torvalds on 07 January 2018, 22:22:41 UTC
Linux 4.15-rc7
Tip revision: b2cd1df
mmu_context.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_MMU_CONTEXT_H
#define _LINUX_MMU_CONTEXT_H

#include <asm/mmu_context.h>

struct mm_struct;

void use_mm(struct mm_struct *mm);
void unuse_mm(struct mm_struct *mm);

/* Architectures that care about IRQ state in switch_mm can override this. */
#ifndef switch_mm_irqs_off
# define switch_mm_irqs_off switch_mm
#endif

#endif
back to top