From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH] target: keep tables sorted
Date: Thu, 9 Jul 2020 00:24:10 +0200 [thread overview]
Message-ID: <20200708222410.56854-1-luc.vanoostenryck@gmail.com> (raw)
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
target.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target.c b/target.c
index 6776c3a1cbb0..e512f7f1b618 100644
--- a/target.c
+++ b/target.c
@@ -60,9 +60,9 @@ static const struct target *targets[] = {
[MACH_ALPHA] = &target_alpha,
[MACH_ARM] = &target_arm,
[MACH_ARM64] = &target_arm64,
- [MACH_I386] = &target_i386,
[MACH_BFIN] = &target_bfin,
- [MACH_X86_64] = &target_x86_64,
+ [MACH_I386] = &target_i386,
+ [MACH_M68K] = &target_m68k,
[MACH_MICROBLAZE] = &target_microblaze,
[MACH_MIPS32] = &target_mips32,
[MACH_MIPS64] = &target_mips64,
@@ -75,7 +75,7 @@ static const struct target *targets[] = {
[MACH_S390X] = &target_s390x,
[MACH_SPARC32] = &target_sparc32,
[MACH_SPARC64] = &target_sparc64,
- [MACH_M68K] = &target_m68k,
+ [MACH_X86_64] = &target_x86_64,
[MACH_UNKNOWN] = &target_default,
};
const struct target *arch_target = &target_default;
@@ -91,8 +91,8 @@ enum machine target_parse(const char *name)
{ "aarch64", MACH_ARM64, 64, },
{ "arm64", MACH_ARM64, 64, },
{ "arm", MACH_ARM, 32, },
- { "i386", MACH_I386, 32, },
{ "bfin", MACH_BFIN, 32, },
+ { "i386", MACH_I386, 32, },
{ "m68k", MACH_M68K, 32, },
{ "microblaze", MACH_MICROBLAZE,32, },
{ "mips", MACH_MIPS32, 0, },
--
2.27.0
reply other threads:[~2020-07-08 22:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200708222410.56854-1-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).