From b632f1c5004d1e7f098890d672b7dc2014f7642f 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