[PATCH] find_task_by_pid() needs tasklist_lock
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-m32r / mmu.h
blob9c00eb78ee5029ae19bcd1d0bebc401922571259
1 #ifndef _ASM_M32R_MMU_H
2 #define _ASM_M32R_MMU_H
4 #include <linux/config.h>
6 #if !defined(CONFIG_MMU)
7 typedef struct {
8 struct vm_list_struct *vmlist;
9 unsigned long end_brk;
10 } mm_context_t;
11 #else
13 /* Default "unsigned long" context */
14 #ifndef CONFIG_SMP
15 typedef unsigned long mm_context_t;
16 #else
17 typedef unsigned long mm_context_t[NR_CPUS];
18 #endif
20 #endif /* CONFIG_MMU */
21 #endif /* _ASM_M32R_MMU_H */