mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 01:32:47 +07:00
af1a8899d2
Based on 1 normalized pattern(s): 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 or at your option any later version you should have received a copy of the gnu general public license for example usr src linux copying if not write to the free software foundation inc 675 mass ave cambridge ma 02139 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 20 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190520170858.552543146@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
743 B
C
24 lines
743 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Optimized RAID-5 checksumming functions for IA-64.
|
|
*/
|
|
|
|
|
|
extern void xor_ia64_2(unsigned long, unsigned long *, unsigned long *);
|
|
extern void xor_ia64_3(unsigned long, unsigned long *, unsigned long *,
|
|
unsigned long *);
|
|
extern void xor_ia64_4(unsigned long, unsigned long *, unsigned long *,
|
|
unsigned long *, unsigned long *);
|
|
extern void xor_ia64_5(unsigned long, unsigned long *, unsigned long *,
|
|
unsigned long *, unsigned long *, unsigned long *);
|
|
|
|
static struct xor_block_template xor_block_ia64 = {
|
|
.name = "ia64",
|
|
.do_2 = xor_ia64_2,
|
|
.do_3 = xor_ia64_3,
|
|
.do_4 = xor_ia64_4,
|
|
.do_5 = xor_ia64_5,
|
|
};
|
|
|
|
#define XOR_TRY_TEMPLATES xor_speed(&xor_block_ia64)
|