ARM64: Add snapshot of edac.h from msm-3.10
Sync the ARM64 edac header to the version found in msm-3.10 as of commit 142c36711024877a2ec1eb13dbbca38503b26ee3 ("edac: cortex_arm64_edac: Use dbe irq only") to bring in external EDAC API definitions that were missed during the msm-3.18 upgrade. Change-Id: If2dc53858d7a30086a95ea5047bd6b18e44f7e09 Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
This commit is contained in:
parent
1166cdaff1
commit
d892726a6c
1 changed files with 8 additions and 0 deletions
|
@ -13,8 +13,16 @@
|
||||||
#ifndef ASM_EDAC_H
|
#ifndef ASM_EDAC_H
|
||||||
#define ASM_EDAC_H
|
#define ASM_EDAC_H
|
||||||
|
|
||||||
|
#if defined(CONFIG_EDAC_CORTEX_ARM64) && \
|
||||||
|
!defined(CONFIG_EDAC_CORTEX_ARM64_DBE_IRQ_ONLY)
|
||||||
|
void arm64_check_cache_ecc(void *info);
|
||||||
|
#else
|
||||||
|
static inline void arm64_check_cache_ecc(void *info) { }
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline void atomic_scrub(void *addr, int size)
|
static inline void atomic_scrub(void *addr, int size)
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue