* [PATCH] C99 initializers for asm-alpha/include/xor.h
@ 2003-06-17 0:42 Art Haas
0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-06-17 0:42 UTC (permalink / raw)
To: Richard Henderson; +Cc: linux-kernel, Linus Torvalds
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-17 0:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 0:42 [PATCH] C99 initializers for asm-alpha/include/xor.h Art Haas
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®