From 917b0d3cfb8208c75974a6737eb7382900c166d3 Mon Sep 17 00:00:00 2001 From: Richard Raya Date: Thu, 12 Dec 2024 22:20:14 -0300 Subject: [PATCH] arm64: lib: Checkout crc32 from linux-next 5f2f5eaa3e373c3a07a4f3552fe13d9cde5e23e5 Change-Id: Iffd6cfec4e537f383437467f1c8638eb273eb2d1 Signed-off-by: Richard Raya --- arch/arm64/lib/crc32.S | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/arm64/lib/crc32.S b/arch/arm64/lib/crc32.S index d4a13402db39..6c6e13e43fd6 100644 --- a/arch/arm64/lib/crc32.S +++ b/arch/arm64/lib/crc32.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Accelerated CRC32(C) using AArch64 CRC instructions * * Copyright (C) 2016 - 2018 Linaro Ltd - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include @@ -139,16 +136,16 @@ CPU_BE( rev16 \reg, \reg ) .endm .align 5 -ENTRY(crc32_le) +SYM_FUNC_START(crc32_le) __crc32 -ENDPROC(crc32_le) +SYM_FUNC_END(crc32_le) .align 5 -ENTRY(__crc32c_le) +SYM_FUNC_START(__crc32c_le) __crc32 c -ENDPROC(__crc32c_le) +SYM_FUNC_END(__crc32c_le) .align 5 -ENTRY(crc32_be) +SYM_FUNC_START(crc32_be) __crc32 be=1 -ENDPROC(crc32_be) \ No newline at end of file +SYM_FUNC_END(crc32_be)