mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 21:33:00 +01:00
Split out two new headers from the public pq.h: - lib/raid/raid6/algos.h contains the algorithm lists private to lib/raid/raid6 - include/linux/raid/pq_tables.h contains the tables also used by async_tx providers. The public include/linux/pq.h is now limited to the public interface for the consumers of the RAID6 PQ API. [[email protected]: remove duplicate ccflags-y line] Link: https://lore.kernel.org/[email protected] Link: https://lore.kernel.org/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Tested-by: Ard Biesheuvel <[email protected]> # kunit only on arm64 Cc: Albert Ou <[email protected]> Cc: Alexander Gordeev <[email protected]> Cc: Alexandre Ghiti <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: "Borislav Petkov (AMD)" <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Chris Mason <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Dan Williams <[email protected]> Cc: David Sterba <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Herbert Xu <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Huacai Chen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Li Nan <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Song Liu <[email protected]> Cc: Sven Schnelle <[email protected]> Cc: Vasily Gorbik <[email protected]> Cc: WANG Xuerui <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
20 lines
721 B
C
20 lines
721 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright 2003 H. Peter Anvin - All Rights Reserved
|
|
*
|
|
* Galois field tables for the Linux RAID6 P/Q parity algorithm.
|
|
*/
|
|
#ifndef _LINUX_RAID_PQ_TABLES_H
|
|
#define _LINUX_RAID_PQ_TABLES_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
extern const u8 raid6_gfmul[256][256] __attribute__((aligned(256)));
|
|
extern const u8 raid6_vgfmul[256][32] __attribute__((aligned(256)));
|
|
extern const u8 raid6_gfexp[256] __attribute__((aligned(256)));
|
|
extern const u8 raid6_gflog[256] __attribute__((aligned(256)));
|
|
extern const u8 raid6_gfinv[256] __attribute__((aligned(256)));
|
|
extern const u8 raid6_gfexi[256] __attribute__((aligned(256)));
|
|
|
|
#endif /* _LINUX_RAID_PQ_TABLES_H */
|