mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
59adf4b075
The ARMADA_XP_MAX_CPUS definition was in common.h, which as its name says, is common to all mvebu SoCs. It is more logical to have this XP specific definition in the already existing armada-370-xp.h header file, especially in preparation to the addition of the support for other SOCs in mach-mvebu. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
28 lines
740 B
C
28 lines
740 B
C
/*
|
|
* Generic definitions for Marvell Armada_370_XP SoCs
|
|
*
|
|
* 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 __MACH_ARMADA_370_XP_H
|
|
#define __MACH_ARMADA_370_XP_H
|
|
|
|
#ifdef CONFIG_SMP
|
|
#include <linux/cpumask.h>
|
|
|
|
#define ARMADA_XP_MAX_CPUS 4
|
|
|
|
void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
|
|
void armada_xp_mpic_smp_cpu_init(void);
|
|
#endif
|
|
|
|
#endif /* __MACH_ARMADA_370_XP_H */
|