MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / nommu_context.h
blobad31d47441d79182747db7ce768a0c56931411af
1 /*
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.
11 * Changelog:
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>
19 #include <asm/page.h>
20 #include <asm/pgalloc.h>
22 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
26 extern inline int
27 init_new_context(struct task_struct *tsk, struct mm_struct *mm)
29 return(0);
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)
45 #endif