]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/mmu_context.h
mm/hotplug: invalid PFNs from pfn_to_online_page()
[mirror_ubuntu-bionic-kernel.git] / include / linux / mmu_context.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
3d2d827f
MT
2#ifndef _LINUX_MMU_CONTEXT_H
3#define _LINUX_MMU_CONTEXT_H
4
f98db601
AL
5#include <asm/mmu_context.h>
6
3d2d827f
MT
7struct mm_struct;
8
9void use_mm(struct mm_struct *mm);
10void unuse_mm(struct mm_struct *mm);
11
f98db601
AL
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
16
3d2d827f 17#endif