arm: socfpga: soc64: Add malloc.h
Subsystems (3)
PATCH 1/1 arm: socfpga: soc64: Add malloc.h
From: Tien Fong Chee <[email protected]>
HSD #1308580006: Some compilers complaint implicit declaration of malloc function, and some compilers have no this issue. Adding malloc.h to resolve this issue.
Signed-off-by Tien Fong Chee <[email protected]>
Signed-off-by Jit Loon Lim <[email protected]>
--- arch/arm/mach-socfpga/secure_vab.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
arch/arm/mach-socfpga/secure_vab.c +5 -4
@@ -1,18 +1,19 @@// SPDX-License-Identifier: GPL-2.0 /* -* Copyright (C) 2020 Intel Corporation <www.intel.com> +* Copyright (C) 2020-2021 Intel Corporation <www.intel.com> * */ +#include <common.h> +#include <exports.h> +#include <log.h> +#include <malloc.h> #include <asm/arch/mailbox_s10.h> #include <asm/arch/secure_vab.h> #include <asm/arch/smc_api.h> #include <asm/unaligned.h> -#include <common.h> -#include <exports.h> #include <linux/errno.h> #include <linux/intel-smc.h> -#include <log.h> #define CHUNKSZ_PER_WD_RESET (256 * SZ_1K)
Signature · 1 line
2.26.2