mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
256211f2b0
Indicate that CRC32 and CRC32C instuctions are supported by the CPU through elf_hwcap flags. This will be used by a follow-up commit that introduces crc32(c) crypto acceleration modules and is required by GENERIC_CPU_AUTOPROBE feature. Signed-off-by: Marcin Nowakowski <marcin.nowakowski@mips.com> Signed-off-by: James Hogan <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18600/
11 lines
265 B
C
11 lines
265 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPI_ASM_HWCAP_H
|
|
#define _UAPI_ASM_HWCAP_H
|
|
|
|
/* HWCAP flags */
|
|
#define HWCAP_MIPS_R6 (1 << 0)
|
|
#define HWCAP_MIPS_MSA (1 << 1)
|
|
#define HWCAP_MIPS_CRC32 (1 << 2)
|
|
|
|
#endif /* _UAPI_ASM_HWCAP_H */
|