[PATCH 1/4] Fix alignment of __condata_*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux