iommu/ipmmu-vmsa: Rewrite page table management
[linux-2.6/btrfs-unstable.git] / arch / mips / include / asm / smp-cps.h
blobd60d1a2180d15eeb1312a45743e7accc20ef45dd
1 /*
2 * Copyright (C) 2013 Imagination Technologies
3 * Author: Paul Burton <paul.burton@imgtec.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
9 */
11 #ifndef __MIPS_ASM_SMP_CPS_H__
12 #define __MIPS_ASM_SMP_CPS_H__
14 #ifndef __ASSEMBLY__
16 struct boot_config {
17 unsigned int core;
18 unsigned int vpe;
19 unsigned long pc;
20 unsigned long sp;
21 unsigned long gp;
24 extern struct boot_config mips_cps_bootcfg;
26 extern void mips_cps_core_entry(void);
28 #else /* __ASSEMBLY__ */
30 .extern mips_cps_bootcfg;
32 #endif /* __ASSEMBLY__ */
33 #endif /* __MIPS_ASM_SMP_CPS_H__ */