Bring back missing line in target/ppc/cpu-models.c

This commit is contained in:
eabdullin 2025-04-09 16:46:06 +03:00
parent 05d29fd9d1
commit c19c74ca43
2 changed files with 30 additions and 0 deletions

View File

@ -39,6 +39,10 @@ actions:
%endif
count: 1
- add_files:
- type: "patch"
name: "0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch"
number: "Latest"
- modify_release:
- suffix: ".alma.1"

View File

@ -0,0 +1,26 @@
From fbf01dcb549b3b35bfb1de1a718d0887c041aa3f Mon Sep 17 00:00:00 2001
From: eabdullin <eabdullin@almalinux.org>
Date: Wed, 9 Apr 2025 16:43:18 +0300
Subject: [PATCH] Bring back missing line in target/ppc/cpu-models.c
---
target/ppc/cpu-models.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
index f77ebfcc8..013c09468 100644
--- a/target/ppc/cpu-models.c
+++ b/target/ppc/cpu-models.c
@@ -744,7 +744,8 @@
/* PowerPC CPU aliases */
PowerPCCPUAlias ppc_cpu_aliases[] = {
- { "405", "405d4" },
+#if 0 /* Disabled for Red Hat Enterprise Linux */
+{ "405", "405d4" },
{ "405cr", "405crc" },
{ "405gp", "405gpd" },
{ "405gpe", "405crc" },
--
2.39.5 (Apple Git-154)