mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
arm64: lib: Checkout crc32 from linux-next
5f2f5eaa3e373c3a07a4f3552fe13d9cde5e23e5 Change-Id: Iffd6cfec4e537f383437467f1c8638eb273eb2d1 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
188fbbf7d6
commit
917b0d3cfb
@ -1,11 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Accelerated CRC32(C) using AArch64 CRC instructions
|
||||
*
|
||||
* Copyright (C) 2016 - 2018 Linaro Ltd <ard.biesheuvel@linaro.org>
|
||||
*
|
||||
* 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 <linux/linkage.h>
|
||||
@ -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)
|
||||
SYM_FUNC_END(crc32_be)
|
||||
|
Loading…
x
Reference in New Issue
Block a user