]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/m32r/include/asm/mmu.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / m32r / include / asm / mmu.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _ASM_M32R_MMU_H
3#define _ASM_M32R_MMU_H
4
1da177e4 5#if !defined(CONFIG_MMU)
fabb626a 6
1da177e4 7typedef struct {
1da177e4
LT
8 unsigned long end_brk;
9} mm_context_t;
fabb626a
HT
10
11#else /* CONFIG_MMU */
1da177e4
LT
12
13/* Default "unsigned long" context */
14#ifndef CONFIG_SMP
15typedef unsigned long mm_context_t;
16#else
17typedef unsigned long mm_context_t[NR_CPUS];
18#endif
19
fabb626a
HT
20#endif /* CONFIG_MMU */
21
22#endif /* _ASM_M32R_MMU_H */