mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 04:37:07 +07:00
b41375f71a
ll_set_cpu_coherent is always used on the current CPU, so instead of passing the CPU id as argument, ll_set_cpu_coherent() can find it by itself. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Link: https://lkml.kernel.org/r/1397488214-20685-4-git-send-email-gregory.clement@free-electrons.com Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
24 lines
605 B
C
24 lines
605 B
C
/*
|
|
* arch/arm/mach-mvebu/include/mach/coherency.h
|
|
*
|
|
*
|
|
* Coherency fabric (Aurora) support for Armada 370 and XP platforms.
|
|
*
|
|
* Copyright (C) 2012 Marvell
|
|
*
|
|
* 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_370_XP_COHERENCY_H
|
|
#define __MACH_370_XP_COHERENCY_H
|
|
|
|
extern unsigned long coherency_phys_base;
|
|
|
|
int set_cpu_coherent(int smp_group_id);
|
|
int coherency_init(void);
|
|
int coherency_available(void);
|
|
|
|
#endif /* __MACH_370_XP_COHERENCY_H */
|