[PATCH] PM: use kobject_name() to access kobject names
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-xtensa / smp.h
blob83c569e3bdbd23245dccf2e3ea7e92010589eafe
1 /*
2 * include/asm-xtensa/smp.h
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.
8 * Copyright (C) 2001 - 2005 Tensilica Inc.
9 */
11 #ifndef _XTENSA_SMP_H
12 #define _XTENSA_SMP_H
14 extern struct xtensa_cpuinfo boot_cpu_data;
16 #define cpu_data (&boot_cpu_data)
17 #define current_cpu_data boot_cpu_data
19 struct xtensa_cpuinfo {
20 unsigned long *pgd_cache;
21 unsigned long *pte_cache;
22 unsigned long pgtable_cache_sz;
25 #define cpu_logical_map(cpu) (cpu)
27 #endif /* _XTENSA_SMP_H */