2 * linux/include/asm-arm/nommu_context.h
4 * Copyright (C) 2001 RidgRun Inc (www.ridgerun.com)
5 * Copyright (C) 2004 Hyok S. Choi
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 * 20-02-2001 GJM Gutted for uClinux
13 * 05-03-2004 HSC modified for 2.6
15 #ifndef __ASM_ARM_NOMMU_CONTEXT_H
16 #define __ASM_ARM_NOMMU_CONTEXT_H
18 #include <asm/setup.h>
20 #include <asm/pgalloc.h>
22 static inline void enter_lazy_tlb(struct mm_struct
*mm
, struct task_struct
*tsk
)
27 init_new_context(struct task_struct
*tsk
, struct mm_struct
*mm
)
32 #define destroy_context(mm) do { } while(0)
34 static inline void switch_mm(struct mm_struct
*prev
, struct mm_struct
*next
, struct task_struct
*tsk
)
38 #define deactivate_mm(tsk,mm) do { } while (0)
40 extern inline void activate_mm(struct mm_struct
*prev_mm
,
41 struct mm_struct
*next_mm
)