From 08f87f769b595151be1afeff53e144f543faa614 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 06 Dec 2023 09:51:13 +0000 Subject: [PATCH] add dts config --- kernel/arch/x86/crypto/sha1_ssse3_asm.S | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/kernel/arch/x86/crypto/sha1_ssse3_asm.S b/kernel/arch/x86/crypto/sha1_ssse3_asm.S index 5a2f857..263f916 100644 --- a/kernel/arch/x86/crypto/sha1_ssse3_asm.S +++ b/kernel/arch/x86/crypto/sha1_ssse3_asm.S @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental * SSE3 instruction set extensions introduced in Intel Core Microarchitecture @@ -21,11 +22,6 @@ * * Converted to AT&T syntax and adapted for inclusion in the Linux kernel: * Author: Mathias Krause <minipli@googlemail.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. */ #include <linux/linkage.h> @@ -71,7 +67,7 @@ * param: function's name */ .macro SHA1_VECTOR_ASM name - ENTRY(\name) + SYM_FUNC_START(\name) push %rbx push %r12 @@ -103,9 +99,9 @@ pop %rbp pop %r12 pop %rbx - ret + RET - ENDPROC(\name) + SYM_FUNC_END(\name) .endm /* @@ -471,8 +467,6 @@ */ SHA1_VECTOR_ASM sha1_transform_ssse3 -#ifdef CONFIG_AS_AVX - .macro W_PRECALC_AVX .purgem W_PRECALC_00_15 @@ -557,5 +551,3 @@ * const u8 *data, int blocks); */ SHA1_VECTOR_ASM sha1_transform_avx - -#endif -- Gitblit v1.6.2