Skip to contentSkip to conversation

C99 initializers for asm-ia64/include/xor.h

PATCH In review Art Haas 2 participants 2 messages Jun 17, 2003

lore
Share & tools
lore

Art Haas

author
#0 lore raw

PATCH 1/1 C99 initializers for asm-ia64/include/xor.h

Hi.

This patch converts the file to use C99 initializers. The patch is against the current BK and is untested as I don't have access to the hardware.

Art Haas

===== include/asm-ia64/xor.h 1.1 vs edited =====

include/asm-ia64/xor.h +5 -5
@@ -273,11 +273,11 @@
 ");
 
 static struct xor_block_template xor_block_ia64 = {
-	name: "ia64",
-	do_2: xor_ia64_2,
-	do_3: xor_ia64_3,
-	do_4: xor_ia64_4,
-	do_5: xor_ia64_5,
+	.name	= "ia64",
+	.do_2	= xor_ia64_2,
+	.do_3	= xor_ia64_3,
+	.do_4	= xor_ia64_4,
+	.do_5	= xor_ia64_5,
 };
 
 #define XOR_TRY_TEMPLATES	xor_speed(&xor_block_ia64)
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
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Art Haas

Art> Hi.
Art> This patch converts the file to use C99 initializers. The patch is Art> against the current BK and is untested as I don't have access to the Art> hardware.

The patch won't apply on the current ia64 tree, but I'll make the analogous change.

Thanks,

	--david