lkml.org 
[lkml]   [2003]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] C99 initializers for asm-arm/include/xor.h
Hi.

These patches convert the xor.h files to use C99 initializers. The
patches are against the current BK. Both patches are untested as I don't
have the hardware.

Art Haas

===== include/asm-arm/xor.h 1.4 vs edited =====
--- 1.4/include/asm-arm/xor.h Tue Feb 5 01:41:12 2002
+++ edited/include/asm-arm/xor.h Mon Jun 16 18:19:17 2003
@@ -125,11 +125,11 @@
}

static struct xor_block_template xor_block_arm4regs = {
- name: "arm4regs",
- do_2: xor_arm4regs_2,
- do_3: xor_arm4regs_3,
- do_4: xor_arm4regs_4,
- do_5: xor_arm4regs_5,
+ .name = "arm4regs",
+ .do_2 = xor_arm4regs_2,
+ .do_3 = xor_arm4regs_3,
+ .do_4 = xor_arm4regs_4,
+ .do_5 = xor_arm4regs_5,
};

#undef XOR_TRY_TEMPLATES
===== include/asm-arm26/xor.h 1.1 vs edited =====
--- 1.1/include/asm-arm26/xor.h Wed Jun 4 06:14:11 2003
+++ edited/include/asm-arm26/xor.h Mon Jun 16 18:19:50 2003
@@ -125,11 +125,11 @@
}

static struct xor_block_template xor_block_arm4regs = {
- name: "arm4regs",
- do_2: xor_arm4regs_2,
- do_3: xor_arm4regs_3,
- do_4: xor_arm4regs_4,
- do_5: xor_arm4regs_5,
+ .name = "arm4regs",
+ .do_2 = xor_arm4regs_2,
+ .do_3 = xor_arm4regs_3,
+ .do_4 = xor_arm4regs_4,
+ .do_5 = xor_arm4regs_5,
};

#undef XOR_TRY_TEMPLATES
--
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.017 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site