From: Art Haas <ahaas@airmail.net>
To: Richard Henderson <rth@twiddle.net>
Cc: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] C99 initializers for asm-alpha/include/xor.h
Date: Mon, 16 Jun 2003 19:42:17 -0500 [thread overview]
Message-ID: <20030617004217.GA21500@artsapartment.org> (raw)
Hi.
This patch converts the file to C99 initializers. The patch is against
the current BK. The patch is untested as I don't have access to an Alpha
machine.
Art Haas
===== include/asm-alpha/xor.h 1.2 vs edited =====
--- 1.2/include/asm-alpha/xor.h Sat Nov 9 06:16:32 2002
+++ edited/include/asm-alpha/xor.h Mon Jun 16 18:18:35 2003
@@ -822,19 +822,19 @@
");
static struct xor_block_template xor_block_alpha = {
- name: "alpha",
- do_2: xor_alpha_2,
- do_3: xor_alpha_3,
- do_4: xor_alpha_4,
- do_5: xor_alpha_5,
+ .name = "alpha",
+ .do_2 = xor_alpha_2,
+ .do_3 = xor_alpha_3,
+ .do_4 = xor_alpha_4,
+ .do_5 = xor_alpha_5,
};
static struct xor_block_template xor_block_alpha_prefetch = {
- name: "alpha prefetch",
- do_2: xor_alpha_prefetch_2,
- do_3: xor_alpha_prefetch_3,
- do_4: xor_alpha_prefetch_4,
- do_5: xor_alpha_prefetch_5,
+ .name = "alpha prefetch",
+ .do_2 = xor_alpha_prefetch_2,
+ .do_3 = xor_alpha_prefetch_3,
+ .do_4 = xor_alpha_prefetch_4,
+ .do_5 = xor_alpha_prefetch_5,
};
/* For grins, also test the generic routines. */
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
reply other threads:[~2003-06-17 0:28 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=20030617004217.GA21500@artsapartment.org \
--to=ahaas@airmail.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
--cc=torvalds@transmeta.com \
/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
all inboxes | Powered by JetHome®