Commit 8db2cdef authored by Art Haas's avatar Art Haas Committed by David S. Miller

[SPARC]: C99 initializers for xor.h

parent 4053dd4b
......@@ -250,11 +250,11 @@ sparc_5(unsigned long bytes, unsigned long *p1, unsigned long *p2,
}
static struct xor_block_template xor_block_SPARC = {
name: "SPARC",
do_2: sparc_2,
do_3: sparc_3,
do_4: sparc_4,
do_5: sparc_5,
.name = "SPARC",
.do_2 = sparc_2,
.do_3 = sparc_3,
.do_4 = sparc_4,
.do_5 = sparc_5,
};
/* For grins, also test the generic routines. */
......
......@@ -388,11 +388,11 @@ __asm__ ("
");
static struct xor_block_template xor_block_VIS = {
name: "VIS",
do_2: xor_vis_2,
do_3: xor_vis_3,
do_4: xor_vis_4,
do_5: xor_vis_5,
.name = "VIS",
.do_2 = xor_vis_2,
.do_3 = xor_vis_3,
.do_4 = xor_vis_4,
.do_5 = xor_vis_5,
};
#define XOR_TRY_TEMPLATES xor_speed(&xor_block_VIS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment