diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 18:14:26 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 18:14:26 +0200 |
commit | 39b8d5254246ac56342b72f812255c8f7a74dca9 (patch) | |
tree | a9ec6bfb5d09a8367c34cc2067328d1b49bb46c1 /include/asm-mips/smvp.h | |
parent | [MIPS] Add CoreFPGA5 support; distinguish between SOCit/ROCit (diff) | |
download | linux-39b8d5254246ac56342b72f812255c8f7a74dca9.tar.xz linux-39b8d5254246ac56342b72f812255c8f7a74dca9.zip |
[MIPS] Add support for MIPS CMP platform.
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-mips/smvp.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-mips/smvp.h b/include/asm-mips/smvp.h new file mode 100644 index 000000000000..0d0e80a39e8a --- /dev/null +++ b/include/asm-mips/smvp.h @@ -0,0 +1,19 @@ +#ifndef _ASM_SMVP_H +#define _ASM_SMVP_H + +/* + * Definitions for SMVP multitasking on MIPS MT cores + */ +struct task_struct; + +extern void smvp_smp_setup(void); +extern void smvp_smp_finish(void); +extern void smvp_boot_secondary(int cpu, struct task_struct *t); +extern void smvp_init_secondary(void); +extern void smvp_smp_finish(void); +extern void smvp_cpus_done(void); +extern void smvp_prepare_cpus(unsigned int max_cpus); + +/* This is platform specific */ +extern void smvp_send_ipi(int cpu, unsigned int action); +#endif /* _ASM_SMVP_H */ |