2003-06-17 00:33:05

by Art Haas

[permalink] [raw]
Subject: [PATCH] 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 =====
--- 1.1/include/asm-ia64/xor.h Tue Feb 5 11:39:54 2002
+++ edited/include/asm-ia64/xor.h Mon Jun 16 18:11:19 2003
@@ -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)
--
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


2003-06-17 00:36:48

by David Mosberger

[permalink] [raw]
Subject: Re: [PATCH] C99 initializers for asm-ia64/include/xor.h

>>>>> On Mon, 16 Jun 2003 19:46:18 -0500, Art Haas <[email protected]> said:

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