mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 03:07:29 +07:00
cb2bb5de64
Fix the warning that coherency_base is not defined by adding it to coherency.h (it is only used in the coherency_ll.S): arch/arm/mach-mvebu/coherency.c:41:14: warning: symbol 'coherency_base' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
25 lines
655 B
C
25 lines
655 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 void __iomem *coherency_base; /* for coherency_ll.S */
|
|
extern unsigned long coherency_phys_base;
|
|
int set_cpu_coherent(void);
|
|
|
|
int coherency_init(void);
|
|
int coherency_available(void);
|
|
|
|
#endif /* __MACH_370_XP_COHERENCY_H */
|