Messages in this thread Patch in this message | | | Date | Mon, 16 Jun 2003 19:42:17 -0500 | From | Art Haas <> | Subject | [PATCH] C99 initializers for asm-alpha/include/xor.h |
| |
Hi.
This patch converts the file to C99 initializers. The patch is against the current BK. The patch is untested as I don't have access to an Alpha machine.
Art Haas
===== include/asm-alpha/xor.h 1.2 vs edited ===== --- 1.2/include/asm-alpha/xor.h Sat Nov 9 06:16:32 2002 +++ edited/include/asm-alpha/xor.h Mon Jun 16 18:18:35 2003 @@ -822,19 +822,19 @@ "); static struct xor_block_template xor_block_alpha = { - name: "alpha", - do_2: xor_alpha_2, - do_3: xor_alpha_3, - do_4: xor_alpha_4, - do_5: xor_alpha_5, + .name = "alpha", + .do_2 = xor_alpha_2, + .do_3 = xor_alpha_3, + .do_4 = xor_alpha_4, + .do_5 = xor_alpha_5, }; static struct xor_block_template xor_block_alpha_prefetch = { - name: "alpha prefetch", - do_2: xor_alpha_prefetch_2, - do_3: xor_alpha_prefetch_3, - do_4: xor_alpha_prefetch_4, - do_5: xor_alpha_prefetch_5, + .name = "alpha prefetch", + .do_2 = xor_alpha_prefetch_2, + .do_3 = xor_alpha_prefetch_3, + .do_4 = xor_alpha_prefetch_4, + .do_5 = xor_alpha_prefetch_5, }; /* For grins, also test the generic routines. */ -- 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 - 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/
| |