mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 11:04:44 +08:00
fe4e719d82
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
22 lines
364 B
C
22 lines
364 B
C
#ifndef _ASM_M32R_MMU_H
|
|
#define _ASM_M32R_MMU_H
|
|
|
|
#if !defined(CONFIG_MMU)
|
|
|
|
typedef struct {
|
|
unsigned long end_brk;
|
|
} mm_context_t;
|
|
|
|
#else /* CONFIG_MMU */
|
|
|
|
/* Default "unsigned long" context */
|
|
#ifndef CONFIG_SMP
|
|
typedef unsigned long mm_context_t;
|
|
#else
|
|
typedef unsigned long mm_context_t[NR_CPUS];
|
|
#endif
|
|
|
|
#endif /* CONFIG_MMU */
|
|
|
|
#endif /* _ASM_M32R_MMU_H */
|