mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
45f5984a8a
This enables SMP support on the Armada XP processor. It adds the mandatory functions to support SMP such as: the SMP initialization functions in platsmp.c, the secondary CPU entry point in headsmp.S and the CPU hotplug initial support in hotplug.c. Signed-off-by: Yehuda Yitschak <yehuday@marvell.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Reviewed-by: Will Deacon <will.deacon@arm.com>
29 lines
841 B
C
29 lines
841 B
C
/*
|
|
* Core functions for Marvell System On Chip
|
|
*
|
|
* Copyright (C) 2012 Marvell
|
|
*
|
|
* Lior Amsalem <alior@marvell.com>
|
|
* Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __ARCH_MVEBU_COMMON_H
|
|
#define __ARCH_MVEBU_COMMON_H
|
|
|
|
void mvebu_restart(char mode, const char *cmd);
|
|
|
|
void armada_370_xp_init_irq(void);
|
|
void armada_370_xp_handle_irq(struct pt_regs *regs);
|
|
|
|
void armada_xp_cpu_die(unsigned int cpu);
|
|
int armada_370_xp_coherency_init(void);
|
|
int armada_370_xp_pmsu_init(void);
|
|
void armada_xp_secondary_startup(void);
|
|
extern struct smp_operations armada_xp_smp_ops;
|
|
#endif
|