16 lines
346 B
C
16 lines
346 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_CRC32C_H
|
|
#define _LINUX_CRC32C_H
|
|
|
|
#include <linux/crc32.h>
|
|
|
|
static inline u32 crc32c(u32 crc, const void *address, unsigned int length)
|
|
{
|
|
return __crc32c_le(crc, address, length);
|
|
}
|
|
|
|
/* This macro exists for backwards-compatibility. */
|
|
#define crc32c_le crc32c
|
|
|
|
#endif /* _LINUX_CRC32C_H */
|