Files
kernel_xiaomi_sm8250/arch/arm64/include/asm/edac.h
Rohit Vaswani 77baa0f77e edac: cortex: Snapshot arm64 cortex-a cpu edac driver
This is a snapshot of arm64 cortex-a cpu edac driver from
msm-4.14 commit cd6d26aaaecf (edac: cortex: Snapshot arm64
cortex-a cpu edac driver).

Change-Id: Ic84ceb52114947f17fc6d0fac87039d4b450f70a
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
[snaseem@codeaurora.org: Resolved restriction errors.]
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
2019-09-05 18:56:52 +05:30

27 lines
886 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef 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) { }
#endif