xref: /openbmc/linux/arch/arm/mach-mvebu/coherency.h (revision 009f1315)
1 /*
2  * arch/arm/mach-mvebu/include/mach/coherency.h
3  *
4  *
5  * Coherency fabric (Aurora) support for Armada 370 and XP platforms.
6  *
7  * Copyright (C) 2012 Marvell
8  *
9  * This file is licensed under the terms of the GNU General Public
10  * License version 2.  This program is licensed "as is" without any
11  * warranty of any kind, whether express or implied.
12  */
13 
14 #ifndef __MACH_370_XP_COHERENCY_H
15 #define __MACH_370_XP_COHERENCY_H
16 
17 #ifdef CONFIG_SMP
18 int coherency_get_cpu_count(void);
19 #endif
20 
21 int set_cpu_coherent(int cpu_id, int smp_group_id);
22 int coherency_init(void);
23 
24 #endif	/* __MACH_370_XP_COHERENCY_H */
25