C99 initializers for asm-sparc/include/xor.h
PATCH 1/1 C99 initializers for asm-sparc/include/xor.h
Hi.
These two patches fix the xor.h files to use C99 initializers. The patches are against the current BK, and both are untested as I don't have access to the hardware.
Art Haas
===== include/asm-sparc/xor.h 1.2 vs edited =====
include/asm-sparc/xor.h +5 -5
@@ -250,11 +250,11 @@ }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. */
===== include/asm-sparc64/xor.h 1.2 vs edited =====
include/asm-sparc64/xor.h +5 -5
@@ -388,11 +388,11 @@ ");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)
Signature · 4 lines
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
David S. Miller
Applied From: Art Haas <[email protected]>
Date: Mon, 16 Jun 2003 19:48:00 -0500
These two patches fix the xor.h files to use C99 initializers. The patches are against the current BK, and both are untested as I don't have access to the hardware.
Applied, thanks Art.