mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [TRIVIAL] designated initializer patches for include_asm-i386
@ 2002-08-28  7:59 Rusty Trivial Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Trivial Russell @ 2002-08-28  7:59 UTC (permalink / raw)
  To: torvalds, linux-kernel

From:  Art Haas <ahaas@neosoft.com>

  Here are a couple of patches for files in include/asm-i386. Patches
  are against 2.5.31.
  
  Art Haas
  -- 
  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

--- trivial-2.5.32/include/asm-i386/thread_info.h.orig	2002-08-28 17:53:12.000000000 +1000
+++ trivial-2.5.32/include/asm-i386/thread_info.h	2002-08-28 17:53:12.000000000 +1000
@@ -57,12 +57,12 @@
 #ifndef __ASSEMBLY__
 #define INIT_THREAD_INFO(tsk)			\
 {						\
-	task:		&tsk,			\
-	exec_domain:	&default_exec_domain,	\
-	flags:		0,			\
-	cpu:		0,			\
-	preempt_count:	1,			\
-	addr_limit:	KERNEL_DS,		\
+	.task		= &tsk,			\
+	.exec_domain	= &default_exec_domain,	\
+	.flags		= 0,			\
+	.cpu		= 0,			\
+	.preempt_count	= 1,			\
+	.addr_limit	= KERNEL_DS,		\
 }
 
 #define init_thread_info	(init_thread_union.thread_info)
--- trivial-2.5.32/include/asm-i386/xor.h.orig	2002-08-28 17:53:12.000000000 +1000
+++ trivial-2.5.32/include/asm-i386/xor.h	2002-08-28 17:53:12.000000000 +1000
@@ -519,19 +519,19 @@
 }
 
 static struct xor_block_template xor_block_pII_mmx = {
-	name: "pII_mmx",
-	do_2: xor_pII_mmx_2,
-	do_3: xor_pII_mmx_3,
-	do_4: xor_pII_mmx_4,
-	do_5: xor_pII_mmx_5,
+	.name = "pII_mmx",
+	.do_2 = xor_pII_mmx_2,
+	.do_3 = xor_pII_mmx_3,
+	.do_4 = xor_pII_mmx_4,
+	.do_5 = xor_pII_mmx_5,
 };
 
 static struct xor_block_template xor_block_p5_mmx = {
-	name: "p5_mmx",
-	do_2: xor_p5_mmx_2,
-	do_3: xor_p5_mmx_3,
-	do_4: xor_p5_mmx_4,
-	do_5: xor_p5_mmx_5,
+	.name = "p5_mmx",
+	.do_2 = xor_p5_mmx_2,
+	.do_3 = xor_p5_mmx_3,
+	.do_4 = xor_p5_mmx_4,
+	.do_5 = xor_p5_mmx_5,
 };
 
 #undef FPU_SAVE
@@ -848,11 +848,11 @@
 }
 
 static struct xor_block_template xor_block_pIII_sse = {
-        name: "pIII_sse",
-        do_2: xor_sse_2,
-        do_3: xor_sse_3,
-        do_4: xor_sse_4,
-        do_5: xor_sse_5,
+        .name = "pIII_sse",
+        .do_2 =  xor_sse_2,
+        .do_3 =  xor_sse_3,
+        .do_4 =  xor_sse_4,
+        .do_5 = xor_sse_5,
 };
 
 /* Also try the generic routines.  */
-- 
  Don't blame me: the Monkey is driving
  File: Art Haas <ahaas@neosoft.com>: [PATCH] designated initializer patches for include_asm-i386

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-28  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28  7:59 [TRIVIAL] designated initializer patches for include_asm-i386 Rusty Trivial Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®