https://github.com/torvalds/linux
Raw File
Tip revision: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 authored by Linus Torvalds on 30 July 2023, 20:23:47 UTC
Linux 6.5-rc4
Tip revision: 5d0c230
nommu_context.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_GENERIC_NOMMU_H
#define __ASM_GENERIC_NOMMU_H

/*
 * Generic hooks for NOMMU architectures, which do not need to do
 * anything special here.
 */
#include <asm-generic/mm_hooks.h>

static inline void switch_mm(struct mm_struct *prev,
			struct mm_struct *next,
			struct task_struct *tsk)
{
}

#include <asm-generic/mmu_context.h>

#endif /* __ASM_GENERIC_NOMMU_H */
back to top