mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
crypto: Convert to new CPU match macros
The new macro set has a consistent namespace and uses C99 initializers instead of the grufty C89 ones. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lkml.kernel.org/r/20200320131510.700250889@linutronix.de
This commit is contained in:
parent
d51ba9c666
commit
f30cfacad1
7 changed files with 7 additions and 7 deletions
|
@ -490,7 +490,7 @@ static struct shash_alg sha256_alg_nano = {
|
|||
};
|
||||
|
||||
static const struct x86_cpu_id padlock_sha_ids[] = {
|
||||
X86_FEATURE_MATCH(X86_FEATURE_PHE),
|
||||
X86_MATCH_FEATURE(X86_FEATURE_PHE, NULL),
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(x86cpu, padlock_sha_ids);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue