From af9fe76e41149af313f82d94a54a36bc79c667c3 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 14 Dec 2024 13:57:45 -0700 Subject: Regen crypto-cpu-caps.c patches --- patches/patch-aarch64-crypto-cpu-caps.c.patch | 8 ++++---- patches/patch-amd64-crypto-cpu-caps.c.patch | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/patches/patch-aarch64-crypto-cpu-caps.c.patch b/patches/patch-aarch64-crypto-cpu-caps.c.patch index 2a1006e..dcfbdc0 100644 --- a/patches/patch-aarch64-crypto-cpu-caps.c.patch +++ b/patches/patch-aarch64-crypto-cpu-caps.c.patch @@ -1,7 +1,7 @@ Disable feature detection until we find a more portable way. ---- crypto/arch/aarch64/crypto_cpu_caps.c Fri Nov 8 09:23:31 2024 ---- crypto/arch/aarch64/crypto_cpu_caps.c Fri Nov 8 09:02:47 2024 +--- crypto/arch/aarch64/crypto_cpu_caps.c.orig Sat Dec 14 13:45:16 2024 ++++ crypto/arch/aarch64/crypto_cpu_caps.c Sat Dec 14 13:54:06 2024 @@ -16,9 +16,12 @@ */ @@ -15,7 +15,7 @@ Disable feature detection until we find a more portable way. #include #include -@@ -66,6 +69,7 @@ +@@ -67,6 +70,7 @@ parse_isar0(uint64_t isar0) return caps; } @@ -23,7 +23,7 @@ Disable feature detection until we find a more portable way. static int read_isar0(uint64_t *isar0) { -@@ -83,6 +87,13 @@ +@@ -84,6 +88,13 @@ read_isar0(uint64_t *isar0) return 1; } diff --git a/patches/patch-amd64-crypto-cpu-caps.c.patch b/patches/patch-amd64-crypto-cpu-caps.c.patch index f7cb4c9..5fd7524 100644 --- a/patches/patch-amd64-crypto-cpu-caps.c.patch +++ b/patches/patch-amd64-crypto-cpu-caps.c.patch @@ -1,6 +1,6 @@ ---- crypto/arch/amd64/crypto_cpu_caps.c.orig Fri Oct 18 17:35:20 2024 -+++ crypto/arch/amd64/crypto_cpu_caps.c Fri Oct 18 17:39:13 2024 -@@ -33,7 +33,7 @@ cpuid(uint32_t eax, uint32_t *out_eax, uint32_t *out_e +--- crypto/arch/amd64/crypto_cpu_caps.c.orig Sat Dec 14 13:45:16 2024 ++++ crypto/arch/amd64/crypto_cpu_caps.c Sat Dec 14 13:54:06 2024 +@@ -37,7 +37,7 @@ cpuid(uint32_t eax, uint32_t *out_eax, uint32_t *out_e { uint32_t ebx = 0, ecx = 0, edx = 0; @@ -9,7 +9,7 @@ __asm__ ("cpuid": "+a"(eax), "+b"(ebx), "+c"(ecx), "+d"(edx)); #else eax = 0; -@@ -54,7 +54,7 @@ xgetbv(uint32_t ecx, uint32_t *out_eax, uint32_t *out_ +@@ -58,7 +58,7 @@ xgetbv(uint32_t ecx, uint32_t *out_eax, uint32_t *out_ { uint32_t eax = 0, edx = 0; -- cgit v1.2.3-55-g6feb