From 014942e716f5f28affc99fba0314d5660578504f Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Thu, 21 Sep 2023 22:12:52 +0300 Subject: [PATCH] syscalls: reorder generic entries --- src/openpower/syscalls/__main__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openpower/syscalls/__main__.py b/src/openpower/syscalls/__main__.py index eefa2304..48bd5e2c 100644 --- a/src/openpower/syscalls/__main__.py +++ b/src/openpower/syscalls/__main__.py @@ -65,15 +65,15 @@ def collect_sysnums(tree): table[abi][number] = (name, []) table[abi][name] = number - if entry32 is not None: - table["arch32"][number][1].append(entry32) + if entry is not None: + table["arch32"][number][1].append(entry) + table["arch64"][number][1].append(entry) if entry64 is not None: table["arch64"][number][1].append(entry64) + if entry32 is not None: + table["arch32"][number][1].append(entry32) if compat is not None: table["arch64"][number][1].append(compat) - if entry is not None: - table["arch32"][number][1].append(entry) - table["arch64"][number][1].append(entry) for abi in dict(table): if not table[abi][number][1]: -- 2.30.2