[PATCH 1/4] Fix alignment of __condata_*

From: Christoph Lameter <clameter_at_sgi.com>
Date: 2006-10-13 05:18:13
Fix alignment for CONFIG_IA64_SGI

The _con.... variables happened to be placed on a 4 byte
boundary in some compiles for CONFIG_IA64_SGI. Wasted some time
chasing ghosts in functions that were never executed but modifications
to these function would oops the system. Make sure that
this does not happen again.

Signed-off-by: Christoph Lameter <clameter@sgi.com>

Index: linux-2.6.19-rc1-mm1/arch/ia64/kernel/vmlinux.lds.S
===================================================================
--- linux-2.6.19-rc1-mm1.orig/arch/ia64/kernel/vmlinux.lds.S	2006-10-04 21:57:05.000000000 -0500
+++ linux-2.6.19-rc1-mm1/arch/ia64/kernel/vmlinux.lds.S	2006-10-10 21:45:30.768864235 -0500
@@ -163,6 +163,7 @@ SECTIONS
 	}
 #endif
 
+  . = ALIGN(16);
    __con_initcall_start = .;
   .con_initcall.init : AT(ADDR(.con_initcall.init) - LOAD_OFFSET)
 	{ *(.con_initcall.init) }
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Oct 13 05:18:26 2006

This archive was generated by hypermail 2.1.8 : 2006-10-13 05:22:07 EST