16eb5be34SRob Herring /* 26eb5be34SRob Herring * Generic definitions for Marvell Armada_370_XP SoCs 36eb5be34SRob Herring * 46eb5be34SRob Herring * Copyright (C) 2012 Marvell 56eb5be34SRob Herring * 66eb5be34SRob Herring * Lior Amsalem <alior@marvell.com> 76eb5be34SRob Herring * Gregory CLEMENT <gregory.clement@free-electrons.com> 86eb5be34SRob Herring * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 96eb5be34SRob Herring * 106eb5be34SRob Herring * This file is licensed under the terms of the GNU General Public 116eb5be34SRob Herring * License version 2. This program is licensed "as is" without any 126eb5be34SRob Herring * warranty of any kind, whether express or implied. 136eb5be34SRob Herring */ 146eb5be34SRob Herring 156eb5be34SRob Herring #ifndef __MACH_ARMADA_370_XP_H 166eb5be34SRob Herring #define __MACH_ARMADA_370_XP_H 176eb5be34SRob Herring 18344e873eSGregory CLEMENT #ifdef CONFIG_SMP 19344e873eSGregory CLEMENT #include <linux/cpumask.h> 20344e873eSGregory CLEMENT 2159adf4b0SThomas Petazzoni #define ARMADA_XP_MAX_CPUS 4 2259adf4b0SThomas Petazzoni 23344e873eSGregory CLEMENT void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq); 24344e873eSGregory CLEMENT void armada_xp_mpic_smp_cpu_init(void); 25344e873eSGregory CLEMENT #endif 26344e873eSGregory CLEMENT 276eb5be34SRob Herring #endif /* __MACH_ARMADA_370_XP_H */ 28