Messages in this thread Patch in this message | | | Date | Thu, 27 Feb 2003 15:38:19 -0600 | From | Art Haas <> | Subject | [PATCH] C99 initiailzers for xor.h |
| |
Hi.
This patch converts the file to use C99 initializers. It's against the current BK.
Art Haas
===== include/asm-generic/xor.h 1.2 vs edited ===== --- 1.2/include/asm-generic/xor.h Mon Oct 21 03:13:10 2002 +++ edited/include/asm-generic/xor.h Thu Feb 27 10:27:14 2003 @@ -678,35 +678,35 @@ } static struct xor_block_template xor_block_8regs = { - name: "8regs", - do_2: xor_8regs_2, - do_3: xor_8regs_3, - do_4: xor_8regs_4, - do_5: xor_8regs_5, + .name = "8regs", + .do_2 = xor_8regs_2, + .do_3 = xor_8regs_3, + .do_4 = xor_8regs_4, + .do_5 = xor_8regs_5, }; static struct xor_block_template xor_block_32regs = { - name: "32regs", - do_2: xor_32regs_2, - do_3: xor_32regs_3, - do_4: xor_32regs_4, - do_5: xor_32regs_5, + .name = "32regs", + .do_2 = xor_32regs_2, + .do_3 = xor_32regs_3, + .do_4 = xor_32regs_4, + .do_5 = xor_32regs_5, }; static struct xor_block_template xor_block_8regs_p = { - name: "8regs_prefetch", - do_2: xor_8regs_p_2, - do_3: xor_8regs_p_3, - do_4: xor_8regs_p_4, - do_5: xor_8regs_p_5, + .name = "8regs_prefetch", + .do_2 = xor_8regs_p_2, + .do_3 = xor_8regs_p_3, + .do_4 = xor_8regs_p_4, + .do_5 = xor_8regs_p_5, }; static struct xor_block_template xor_block_32regs_p = { - name: "32regs_prefetch", - do_2: xor_32regs_p_2, - do_3: xor_32regs_p_3, - do_4: xor_32regs_p_4, - do_5: xor_32regs_p_5, + .name = "32regs_prefetch", + .do_2 = xor_32regs_p_2, + .do_3 = xor_32regs_p_3, + .do_4 = xor_32regs_p_4, + .do_5 = xor_32regs_p_5, }; #define XOR_TRY_TEMPLATES \ -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |