]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] C99 initializers for asm-alpha/include/xor.h
authorArt Haas <ahaas@airmail.net>
Thu, 19 Jun 2003 01:58:08 +0000 (18:58 -0700)
committerRichard Henderson <rth@kanga.twiddle.net>
Thu, 19 Jun 2003 01:58:08 +0000 (18:58 -0700)
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

index a88d79d6e3ac11023e4ee44bcfe58beec68f3508..5ee1c2bc0499b983268f3d22d2285b75c9e7307b 100644 (file)
@@ -822,19 +822,19 @@ xor_alpha_prefetch_5:                                             \n\
 ");
 
 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.  */