aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-09-25 11:13:31 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-10-02 19:51:24 +1000
commita2c9babbda5878874f5a8a3d849dff189d4f7743 (patch)
treecd0b41b48b2e44e75fab11430d40c3a7ab682dc5
parent470ffb5f29d741c3bed600f7bb7bf0cbb270e05a (diff)
downloadskiboot-a2c9babbda5878874f5a8a3d849dff189d4f7743.zip
skiboot-a2c9babbda5878874f5a8a3d849dff189d4f7743.tar.gz
skiboot-a2c9babbda5878874f5a8a3d849dff189d4f7743.tar.bz2
core/cpu.c: current_radix_mode should be initialised to true
POWER9 boots in radix mode. This does not change much but would allow a big endian radix OS to avoid a HID change when it boots. However it is confusing and fragile to have this set the wrong way initially. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--core/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cpu.c b/core/cpu.c
index 232664b..d0e4cdc 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -43,7 +43,7 @@ static bool sreset_enabled;
static bool ipi_enabled;
static bool pm_enabled;
static bool current_hile_mode;
-static bool current_radix_mode;
+static bool current_radix_mode = true;
static bool tm_suspend_enabled;
unsigned long cpu_secondary_start __force_data = 0;