Commit | Line | Data |
---|---|---|
9a8fd558 CZ |
1 | /* |
2 | * include/asm-xtensa/smp.h | |
3 | * | |
4 | * This file is subject to the terms and conditions of the GNU General Public | |
5 | * License. See the file "COPYING" in the main directory of this archive | |
6 | * for more details. | |
7 | * | |
8 | * Copyright (C) 2001 - 2005 Tensilica Inc. | |
9 | */ | |
10 | ||
11 | #ifndef _XTENSA_SMP_H | |
12 | #define _XTENSA_SMP_H | |
13 | ||
14 | extern struct xtensa_cpuinfo boot_cpu_data; | |
15 | ||
16 | #define cpu_data (&boot_cpu_data) | |
17 | #define current_cpu_data boot_cpu_data | |
18 | ||
19 | struct xtensa_cpuinfo { | |
20 | unsigned long *pgd_cache; | |
21 | unsigned long *pte_cache; | |
22 | unsigned long pgtable_cache_sz; | |
23 | }; | |
24 | ||
25 | #define cpu_logical_map(cpu) (cpu) | |
26 | ||
27 | #endif /* _XTENSA_SMP_H */ |